hexrd.fitting.calibration.structureless module
- class hexrd.fitting.calibration.structureless.StructurelessCalibrator(instr, data, tth_distortion=None, engineering_constraints=None, euler_convention=('zxz', False))[source]
Bases:
object
this class implements the equivalent of the powder calibrator but without constraining the optimization to a structure. in this implementation, the location of the constant two theta line that a set of points lie on is also an optimization parameter.
unlike the previous implementations, this routine is based on the lmfit module to implement the more complicated constraints for the TARDIS box
if TARDIS_constraints are set to True, then the following additional linear constraint is added to the calibration
22.83 mm <= |IMAGE-PLATE-2 tvec[1]| + |IMAGE-PLATE-2 tvec[1]| <= 23.43 mm
- property data
- property engineering_constraints
- property instr
- property meas_angles
this property will return a dictionary of angles based on current instrument parameters.
- property nrings
return dictionary over panels with number of DS rings on each panel
- property residual
- property tth_correction
- property tth_distortion
- property two_XRS