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
FieldsModifier and TypeFieldDescriptionfinal CrystalThe Crystal instance.The HKL list.intFor binning reflections based on resolutionfinal ResolutionResolution instance.final SpaceGroupThe space group. -
Constructor Summary
ConstructorsConstructorDescriptionReflectionList(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 TypeMethodDescriptionbooleanfindSymHKL(int h, int k, int l, HKL mate) findSymHKLbooleanfindSymHKL(int h, int k, int l, HKL mate, boolean transpose) findSymHKLbooleanfindSymHKL(HKL hkl, HKL mate) findSymHKLgetHKL(int h, int k, int l) getHKLgetHKLdoubleGet the maximum resolution.doubleGet the minimum resolution.booleanhasHKLfinal doubleordinal(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- aCrystalobject.resolution- aResolutionobject.
-
ReflectionList
public ReflectionList(Crystal crystal, Resolution resolution, org.apache.commons.configuration2.CompositeConfiguration properties) Constructor for ReflectionList.- Parameters:
crystal- aCrystalobject.resolution- aResolutionobject.properties- aCompositeConfigurationobject.
-
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- aStringobject.resolution- a double.
-
-
Method Details
-
findSymHKL
findSymHKL -
findSymHKL
findSymHKL- Parameters:
h- an int.k- an int.l- an int.mate- aHKLobject.- Returns:
- a boolean.
-
findSymHKL
findSymHKL- Parameters:
h- an int.k- an int.l- an int.mate- aHKLobject.transpose- a boolean.- Returns:
- a boolean.
-
getHKL
getHKL- Parameters:
h- an int.k- an int.l- an int.- Returns:
- a
HKLobject.
-
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- aHKLobject.- Returns:
- a boolean.
-
ordinal
public final double ordinal(double s) ordinal- Parameters:
s- a double.- Returns:
- a double.
-
toString
-