set_diffraction_calibration#
- ElectronDiffraction2D.set_diffraction_calibration(calibration, center=None)[source]#
Set diffraction pattern pixel size in reciprocal Angstroms and origin location.
- Parameters:
calibration (float) – Diffraction pattern calibration in reciprocal Angstroms per pixel.
center (tuple) – Position of the direct beam center, in pixels. If None the center of the data array is assumed to be the center of the pattern.