John W. Campbell
This class stores details of an observed reflection (indices, image
position and other parameters which may be required for refining a
crystal orientation). The item values are accessible via public fields.
Class, fields, constructors and methods:
Class Details
Accessible Fields
Constructors
- Package:
- Jdl.JdlPX;
- Class name:
- JdlObservedReflection
- Class definition:
- public class JdlObservedReflection
- Extends:
- Object
- Implements:
- none
- Actions:
- none
The following accessible fields have been defined:
- public final static int HKL
- Flag to sort on h, k and l indices (together).
- public final static int AXIS1_COORDINATE
- Flag to sort on local axis 1 coordinate.
- public final static int AXIS2_COORDINATE
- Flag to sort on local axis 2 coordinate.
- public final static int H
- Flag to sort on h index.
- public final static int K
- Flag to sort on k index.
- public final static int L
- Flag to sort on l index.
- static int sort_option
- public int h
- 'h' index.
- public int k
- 'k' index.
- public int l
- 'l' index.
- public double ax1_obs
- Axis 1 (e.g. x) observed image position in rasters.
- public double ax2_obs
- Axis 2 (e.g. y) observed image position in rasters.
- public double weight
- Weight for a refinement.
- public boolean use_refine
- Use in refinement flag = true yes, = false no
- public double ax1_predicted
- Axis 1 (e.g. x) predicted image position in rasters (optional - not
needed for the refinement - set to 0.0 if not present).
- public int ax1_pix
- Axis 1 (e.g. x) predicted image position to nearest pixel (optional -
e.g position of a symbol on a displayed image - set to 0 if not present).
- public double ax2_predicted
- Axis 2 (e.g. y) predicted image position in rasters (optional - not
needed for the refinement - set to 0.0 if not present).
- public int ax2_pix
- Axis 2 (e.g. y) predicted image position to nearest pixel (optional -
e.g position of a symbol on a displayed image - set to 0 if not present).
- public int iref
- Predicted list reference number (1 upwards), 0 if not set.
Two constructors set up a JdlObservedReflection object with indices
and spot position and optionally the weight and refne flags.
Constructor:
Constructor 1
Constructor 2
This constructs a JdlObservedReflection object with given indices
and spot position. The weight is initialized to 1.0 and the use_refine
flag is set to false.
- Constructor Definition:
- public JdlObservedReflection(int h, int k, int l, double ax1_obs, double ax2_obs, double ax1_pred, double ax2_pred, int ax1_pix, int ax2_pix, int iref)
- Parameters List:
- h
- The 'h' index.
- k
- The 'k' index.
- l
- The 'l' index.
- ax1_obs
- Axis 1 (e.g. x) observed image position in rasters.
- ax2_obs
- Axis 2 (e.g. y) observed image position in rasters.
- ax1_pred
- Axis 1 (e.g. x) predicted image position in rasters - 0.0
if not saved.
- ax2_pred
- Axis 2 (e.g. x) predicted image position in rasters - 0.0
if not saved.
- ax1_pix
- Axis 1 (e.g. x) predicted position to nearest pixel - 0 if
not saved.
- ax2_pix
- Axis 2 (e.g. y) predicted position to nearest pixel - 0 if
not saved.
- iref
- Predicted list reference number (1 upwards if relevant or 0 if
not required or not relevant)
This constructs a JdlObservedReflection object with all parameters
specified.
- Constructor Definition:
- public JdlObservedReflection(int h, int k, int l, double ax1_obs, double ax2_obs, double weight, boolean use_refine, double ax1_pred, double ax2_pred, int ax1_pix, int ax2_pix,int iref)
- Parameters List:
- h
- The 'h' index.
- k
- The 'k' index.
- l
- The 'l' index.
- ax1_obs
- Axis 1 (e.g. x) image position in rasters.
- ax2_obs
- Axis 2 (e.g. y) image position in rasters.
- weight
- Weight of observation for refinement.
- use_refine
- Use in refinement flag; = true yes, = false no
- ax1_pred
- Axis 1 (e.g. x) predicted image position in rasters - 0.0
if not saved.
- ax2_pred
- Axis 2 (e.g. x) predicted image position in rasters- 0.0
if not saved.
- ax1_pix
- Axis 1 (e.g. x) predicted position to nearest pixel - 0 if
not saved.
- ax2_pix
- Axis 2 (e.g. y) predicted position to nearest pixel - 0 if
not saved.
- iref
- Predicted list reference number (1 upwards if relevant or 0 if
not required or not relevant)
⇑ Up 2
⇑ Up 1
⇑ Top of this