Check out the Hyperspy Workshop May 13-17, 2024 Online

get_azimuthal_integrator#

pyxem.utils.diffraction.get_azimuthal_integrator(detector, detector_distance, shape, center=None, affine=None, mask=None, wavelength=None, **kwargs)[source]#

[Deprecated] Basic method for creating a azimuthal integrator.

This helps to deal with taking some of the pyXEM standards and apply them to pyFAI

Parameters:
  • detector (pyFAI.detectors.Detector) – The detector to be integrated

  • detector_distance – distance sample - detector plan (orthogonal distance, not along the beam), in meter.

  • shape ((int, int)) – The shape of the signal we are operating on. For the

  • center ((float, float)) – The center of the diffraction pattern

  • affine ((3x3)) – The affine transformation to apply to the data

  • mask (np.array) – A boolean array to be added to the integrator.

  • wavelength (float) – The wavelength of the beam in meter. Needed to accounting for the Ewald sphere.

  • kwargs (dict) – Any additional arguments to the Azimuthal Integrator class

Notes

Deprecated since version 0.18.0: Function get_azimuthal_integrator() is deprecated and will be removed in version 1.0.0.