Package ffx.crystal
Class ReflectionList
java.lang.Object
ffx.crystal.ReflectionList
Class to represent a reflection list.
- Since:
- 1.0
- Author:
- Timothy D. Fenn
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionfinal Crystal
The Crystal instance.The HKL list.int
For binning reflections based on resolutionfinal Resolution
Resolution instance.final SpaceGroup
The space group. -
Constructor Summary
ConstructorDescriptionReflectionList
(double a, double b, double c, double alpha, double beta, double gamma, String sg, double resolution) Constructor for ReflectionList.ReflectionList
(Crystal crystal, Resolution resolution) Constructor for ReflectionList.ReflectionList
(Crystal crystal, Resolution resolution, org.apache.commons.configuration2.CompositeConfiguration properties) Constructor for ReflectionList. -
Method Summary
Modifier and TypeMethodDescriptionboolean
findSymHKL
(int h, int k, int l, HKL mate) findSymHKLboolean
findSymHKL
(int h, int k, int l, HKL mate, boolean transpose) findSymHKLboolean
findSymHKL
(HKL hkl, HKL mate) findSymHKLgetHKL
(int h, int k, int l) getHKLgetHKLdouble
Get the maximum resolution.double
Get the minimum resolution.boolean
hasHKLfinal double
ordinal
(double s) ordinaltoString()
-
Field Details
-
hklList
The HKL list. -
crystal
The Crystal instance. -
spaceGroup
The space group. -
resolution
Resolution instance. -
nBins
public int nBinsFor binning reflections based on resolution
-
-
Constructor Details
-
ReflectionList
Constructor for ReflectionList.- Parameters:
crystal
- aCrystal
object.resolution
- aResolution
object.
-
ReflectionList
public ReflectionList(Crystal crystal, Resolution resolution, org.apache.commons.configuration2.CompositeConfiguration properties) Constructor for ReflectionList.- Parameters:
crystal
- aCrystal
object.resolution
- aResolution
object.properties
- aCompositeConfiguration
object.
-
ReflectionList
public ReflectionList(double a, double b, double c, double alpha, double beta, double gamma, String sg, double resolution) Constructor for ReflectionList.- Parameters:
a
- a double.b
- a double.c
- a double.alpha
- a double.beta
- a double.gamma
- a double.sg
- aString
object.resolution
- a double.
-
-
Method Details
-
findSymHKL
findSymHKL -
findSymHKL
findSymHKL- Parameters:
h
- an int.k
- an int.l
- an int.mate
- aHKL
object.- Returns:
- a boolean.
-
findSymHKL
findSymHKL- Parameters:
h
- an int.k
- an int.l
- an int.mate
- aHKL
object.transpose
- a boolean.- Returns:
- a boolean.
-
getHKL
getHKL- Parameters:
h
- an int.k
- an int.l
- an int.- Returns:
- a
HKL
object.
-
getHKL
getHKL -
getMaxResolution
public double getMaxResolution()Get the maximum resolution.- Returns:
- Maximum resolution
-
getMinResolution
public double getMinResolution()Get the minimum resolution.- Returns:
- Minimum resolution
-
hasHKL
hasHKL- Parameters:
hkl
- aHKL
object.- Returns:
- a boolean.
-
ordinal
public final double ordinal(double s) ordinal- Parameters:
s
- a double.- Returns:
- a double.
-
toString
-