John W. Campbell
This class calculates, from the cell constants, parameters which may be
used to determine the resolution of individual reflections. The code
has been derived from functions from the CCP4 program suite.
Class, constructors and methods:
Class Details
Accessible Fields
Constructor
Get Resolution
- Package:
- Jdl.JdlPX;
- Class name:
- JdlResolution
- Class definition:
- public class JdlResolution
- Extends:
- Object
- Implements:
- none
- Actions:
- none
No fields with public, package or protected access defined.
Three constructors are available to construct a JdlResolution object from a
JdlCell object, an array of cell parameters or from a set of individual cell
parameters.
Constructors:
Constructor 1
Constructor 2
Constructor 3
Create a JdlResolution object from a JdlCell object.
- Constructor Definition:
- public JdlResolution (JdlCell cell)
- Parameters List:
- none
Create a JdlResolution object from an array containing the cell parameters.
- Constructor Definition:
- public JdlResolution (double[] cell)
- Parameters List:
- cell
- The cell parameters in a 6 element double array (a, b, c,
alpha, beta, gamma in Angstroms and degrees).
Create a JdlResolution object from the individual cell parameters.
- Constructor Definition:
- public JdlResolution (double a, double b, double c, double alpha, double beta, double gamma)
- Parameters List:
- a
- The cell parameter 'a' in Angstroms.
- b
- The cell parameter 'b' in Angstroms.
- c
- The cell parameter 'c' in Angstroms.
- alpha
- The cell parameter 'alpha' in degrees.
- beta
- The cell parameter 'beta' in degrees.
- gamma
- The cell parameter 'gamma' in degrees.
This section has methods to calculate the resolution of a
reflection based on the stored cell given the reflection indices.
Methods:
Get resolution - getResolution
Get resolution - getSinThLamSq
Returns the resolution of the requested reflection in Angstroms.
- Method Definition:
- public double getResolution(int h, int k, int l)
- Parameters List:
- h
- The reflection 'h' index.
- k
- The reflection 'k' index.
- l
- The reflection 'l' index.
Returns the resolution of the requested reflection as (sin(theta)/lambda)**2.
- Method Definition:
- public double getSinThLamSq(int h, int k, int l)
- Parameters List:
- h
- The reflection 'h' index.
- k
- The reflection 'k' index.
- l
- The reflection 'l' index.
⇑ Up 2
⇑ Up 1
⇑ Top of this