azimuthal_integrate1d#
- pyxem.utils.diffraction.azimuthal_integrate1d(z, azimuthal_integrator, npt_rad, mask=None, sum=False, **kwargs)[source]#
Calculate the azimuthal integral of z around a determined origin.
This method is used for signals where the origin is constant, compared to azimuthal_integrate which is used when the origin in the data changes and is iterated over.
- Parameters:
z (numpy.ndarray) – Two-dimensional data array containing the signal.
azimuthal_integrator (pyFAI.azimuthal_integrator.AzimuthalIntegrator object) – An AzimuthalIntegrator that is already initialised and used to calculate the integral.
npt_rad – The number of radial points to integrate
mask (Boolean Array) – A boolean array with pixels to ignore
sum (bool) – Returns the integrated intensity rather than the mean.
**kwargs – Keyword arguments to be passed to ai.integrate2d
- Returns:
tth (numpy.ndarray) – One-dimensional scattering vector axis of z.
I (numpy.ndarray) – One-dimensional azimuthal integral of z.