CalibrationGenerator#
- class pyxem.generators.CalibrationGenerator(diffraction_pattern=None, grating_image=None, calibration_standard=None)[source]#
Bases:
object
Obtains calibration information from common reference standards.
- Parameters:
calibration_data (CalibrationDataLibrary) – The signal of electron diffraction data to be used for calibration.
Methods
Determine the transformation matrix required to correct for diffraction pattern distortions and/or rotation between real and reciprocal space coordinates.
Determine the diffraction pattern pixel size calibration in units of reciprocal Angstroms per pixel.
Obtain residuals for experimental data and distortion corrected data with respect to a simulated symmetric ring pattern.
Determine elliptical distortion of the diffraction pattern.
Determine the navigation space pixel size calibration, nm per pixel.
Determine the rotation between real and reciprocal space coordinates.
Plot calibrated data for visual inspection.
CalibrationGenerator.plot_corrected_diffraction_pattern
([...])Plot the distortion corrected diffraction pattern with an optional reference circle.
CalibrationGenerator.to_ai
(wavelength, **kwargs)