ReducedIntensityGenerator1D#
- class pyxem.generators.ReducedIntensityGenerator1D(signal, *args, **kwargs)[source]#
Bases:
object
Generates a reduced intensity 1D profile for a specified diffraction radial profile.
- Parameters:
signal (ElectronDiffraction1D) – An electron diffraction radial profile.
Methods
Fits a diffraction intensity profile to the background.
Obtains a reduced intensity profile from the radial profile.
Uses a background pattern with a threshold, and sets that part of the signal to zero, effectively adding a mask.
Masks the reduced intensity signal by multiplying it with a pattern consisting of only zeroes and ones.
ReducedIntensityGenerator1D.set_diffraction_calibration
(...)Defines calibration for the signal axis variable s in terms of A^-1 per pixel.
Defines the offset for the signal axis variable s in terms of A^-1 per pixel.
Scattering vector cutoff for the purposes of fitting an atomic scattering factor to the 1D profile.
Subtracts a background pattern from the signal.