get_correction_matrix#

CalibrationGenerator.get_correction_matrix()[source]#

Determine the transformation matrix required to correct for diffraction pattern distortions and/or rotation between real and reciprocal space coordinates.

Returns:

correction_matrix – Array defining the affine transformation that corrects for lens distortions in the diffraction pattern.

Return type:

np.array()