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

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

ReducedIntensityGenerator1D.fit_atomic_scattering(...)

Fits a diffraction intensity profile to the background.

ReducedIntensityGenerator1D.get_reduced_intensity()

Obtains a reduced intensity profile from the radial profile.

ReducedIntensityGenerator1D.mask_from_bkgd_pattern(...)

Uses a background pattern with a threshold, and sets that part of the signal to zero, effectively adding a mask.

ReducedIntensityGenerator1D.mask_reduced_intensity(...)

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.

ReducedIntensityGenerator1D.set_diffraction_offset(offset)

Defines the offset for the signal axis variable s in terms of A^-1 per pixel.

ReducedIntensityGenerator1D.set_s_cutoff(...)

Scattering vector cutoff for the purposes of fitting an atomic scattering factor to the 1D profile.

ReducedIntensityGenerator1D.subtract_bkgd_pattern(...)

Subtracts a background pattern from the signal.