Generalization of Impact() for non-vertical rotation axes.
|
Methods
|
|
__init__ cmat setupiv shkl
|
|
|
__init__
|
__init__ (
self,
cell,
p,
hkl,
durationmax=0,
detectorsizemargin=config.detectorsizemargin,
axis=[ 0, 0, 1 ],
clockwise=1,
)
Constructor.
arguments:
- cell
The cell to which the reflections belong
- p
The position of the goniostat and the detector at
the beginning of the scan.
- hkl
The DataSet() object containing the reflections to
be predicted.
optional arguments:
- durationmax
the upper limit for the reflection duration
factor to accept a reflection. If set to 0,
the duration is not limited.
- detectorsizemargin
the insensitive edge of the detector.
- clockwise
whether the angle of interest turns clockwise
|
|
|
cmat
|
cmat ( self )
Return the hkl2c matrix at the starting position p |
|
|
setupiv
|
setupiv ( self )
|
|
|
shkl
|
shkl ( self )
|
|