John W. Campbell
This class stores details of a predicted Laue spot as
it is generated. During the internal generation stage it contains
details of the individual reflections which are then gathered together
for multiple harmonic reflections into details for each spot. With
the details in this form (including the reciprocal lattice coordinates)
it is passed to the output method called by the laue spot generation
method predictLaueSpots(..) so that these details can then be used to calculate
detector coordinates and output a spot list as desired. The class
implements the interfaces Cloneable and Comparable so that spots
may be copied and spot lists sorted on nodal indices.
Class, fields, constructors and methods:
Class Details
Accessible Fields
Constructors
Set Parameters
Get Parameters
- Package:
- Jdl.JdlPX;
- Class name:
- JdlGeneratedLaueSpot
- Class definition:
- public class JdlGeneratedLaueSpot
- Extends:
- Object
- Implements:
- Cloneable
Comparable
Comparator<JdlGeneratedLaueSpot>
- Actions:
- none
The following accessible fields have been defined:
- public short h
- 'h' index.
- public short k
- 'k' index.
- public short l
- 'l' index.
- public short nh
- Nodal 'h' index.
- public short nk
- Nodal 'k' index.
- public short nl
- Nodal 'l' index.
- public double x
- Reciprocal lattice 'x' coordinate.When passed to the output method, this will
be the lambda value for the minimum harmonic present for a multiple spot.
- public double y
- Reciprocal lattice 'y' coordinate. When passed to the output method, this will
be the lambda value for the minimum harmonic present for a multiple spot.
- public double z
- Reciprocal lattice 'z' coordinate. When passed to the output method, this will
be the lambda value for the minimum harmonic present for a multiple spot.
- public double lambda
- Lambda value. When passed to the output method, this will be the
lambda value for the minimum harmonic present for a multiple spot.
- public double dmin_thr2
- (Dmin threshold)**2 value in Angstroms**2. When passed to the output method,
this will be the value for the minimum harmonic present for a multiple spot.
- public short mult
- Multiplicity (1 for a single).
- public short minharm
- Minimum harmonic.
- public short maxharm
- Maximum harmonic.
- public short incharm
- Harmonic increment: Note that this may need to be reset by the output
method as the value supplied will only be calculated using systematic absences
based on the crystal lattice type.
Constructors are available to construct a JdlGeneratedLaueSpot object
with default (mostly unset) values or given a set of the main
values required from a prediction.
Constructors:
Empty Constructor
Double Parameters Constructor
This constructs a basically empty object.
- Constructor Definition:
- public JdlGeneratedLaueSpot()
- Parameters List:
- none
This constructs a JdlGeneratedLaueSpot object with the items set apart
from mult=0, minharm=0, maxharm=0, incharm=1.
- Constructor Definition:
- public JdlGeneratedLaueSpot(int h, int k, int l, int nh, int nk, int nl, double x, double y, double z, double lambda, double dmin_thr2)
- Parameters List:
- h
- The 'h' index.
- k
- The 'k' index.
- l
- The 'l' index.
- nh
- Nodal 'h' index.
- nk
- Nodal 'k' index.
- nl
- Nodal 'l' index.
- x
- Reciprocal lattice 'x' coordinate.
- y
- Reciprocal lattice 'y' coordinate.
- z
- Reciprocal lattice 'z' coordinate.
- lambda
- Wavelength.
- dmin_thr2
- Dmin**2 value/threshold.
This section has methods to set specific parameters or groups of
parameters.
Methods:
Set indices - setIndices
Set nodal indices - setNodalIndices
Set coordinates - setCoordinates
Set lambda - setLambda
Set dmin_thr2 - setDminThr2
Set multiplicity - setMultiplicity
Set harmonic flags - setHarmonicFlags
This method sets the values of the reflection indices given the three
individual values.
- Method Definition:
- public void setIndices (int h, int k, int l)
- Parameters List:
- h
- The 'h' index.
- k
- The 'k' index.
- l
- The 'l' index.
This method sets the values of the reflection nodal indices given the three
individual values.
- Method Definition:
- public void setNodalIndices (int nh, int nk, int nl)
- Parameters List:
- nh
- The nodal 'h' index.
- nk
- The nodal 'k' index.
- nl
- The nodal 'l' index.
This method sets the predicted reflection reciprocal lattice coordinates.
- Method Definition:
- public void setCoordinates (double x, double y, double z)
- Parameters List:
- x
- reciprocal lattice 'x' coordinate.
- y
- reciprocal lattice 'y' coordinate.
- z
- reciprocal lattice 'z' coordinate.
This method sets the wavelength value.
- Method Definition:
- public void setLambda (double lambda)
- Parameters List:
- lambda
- The lambda value
This method sets the (dmin_thresholds)**2 value.
- Method Definition:
- public void setDminThr2 (double dmin_thr2)
- Parameters List:
- dmin_thr2
- The (dmin_thresholds)**2 value.
This method sets the multiplicity.
- Method Definition:
- public void setMultiplicity (int mult)
- Parameters List:
- mult
- The multiplicity.
This method sets the harmonic flags.
- Method Definition:
- public void setHarmonicFlags(int minharm, int maxharm, int incharm)
- Parameters List:
- minharm
- Minimum harmonic.
- maxharm
- Maximum harmonic.
- incharm
- Harmonic increment.
This section has methods to get the values of the stored parameters. The
parameters are described in more detail, where appropriate, in the
field definitions and in the descriptions of the methods which set the
values.
Methods:
Get index h - getH
Get index k - getK
Get index l - getL
Get nodal index h - getNodalH
Get nodal index k - getNodalK
Get nodal index l - getNodalL
Get reciprocal lattice coordinates - getRLCoordinates
Get lambda - getLambda
Get dmin_thr2 - getDminThr2
Get multiplicity - getMultiplicity
Get minimum harmonic - getMinimumHarmonic
Get maximum harmonic - getMaximumHarmonic
Get harmonic increment - getHarmonicIncrement
Returns the value of the 'h' index.
- Method Definition:
- public int getH()
- Parameters List:
- none
- Method Return:
-
The 'h' index.
Returns the value of the 'k' index.
- Method Definition:
- public int getK()
- Parameters List:
- none
- Method Return:
-
The 'k' index.
Returns the value of the 'l' index.
- Method Definition:
- public int getL()
- Parameters List:
- none
- Method Return:
-
The 'l' index.
Returns the value of the nodal 'h' index.
- Method Definition:
- public int getNodalH()
- Parameters List:
- none
- Method Return:
-
The 'nh' index.
Returns the value of the nodal 'k' index.
- Method Definition:
- public int getNodalK()
- Parameters List:
- none
- Method Return:
-
The 'nk' index.
Returns the value of the nodal 'l' index.
- Method Definition:
- public int getNodalL()
- Parameters List:
- none
- Method Return:
-
The 'nl' index.
Returns the predicted reciprocal lattice coordinates.
- Method Definition:
- public void getRLCoordinates(double[] xr)
- Parameters List:
- xr
- 3 element array in which to return the reciprocal lattice
coordinates.
Returns the value of the wavelength.
- Method Definition:
- public double getLambda()
- Parameters List:
- none
- Method Return:
-
The wavelength.
Returns the value of (dmin_thresholds)**2.
- Method Definition:
- public double getDminThr2()
- Parameters List:
- none
- Method Return:
-
The wavelength.
This method returns the multiplicity.
- Method Definition:
- public int getMultiplicity()
- Parameters List:
- none
- Method Return:
-
The multiplicity.
This method returns the minimum harmonic.
- Method Definition:
- public int getMinimumHarmonic()
- Parameters List:
- none
- Method Return:
-
The minimum harmonic.
This method returns the maximum harmonic.
- Method Definition:
- public int getMaximumHarmonic()
- Parameters List:
- none
- Method Return:
-
The maximum harmonic.
This method returns the harmonic increment.
- Method Definition:
- public int getHarmonicIncrement()
- Parameters List:
- none
- Method Return:
-
The harmonic increment.
⇑ Up 2
⇑ Up 1
⇑ Top of this