IntegrationGenerator#
- class pyxem.generators.IntegrationGenerator(dp, vectors)[source]#
Bases:
object
Integrates reflections at the given vector positions.
- Parameters:
dp (ElectronDiffraction2D) – The electron diffraction patterns to be refined
vectors (DiffractionVectors | ndarray) – Vectors (in calibrated units) to the locations of the spots to be integrated. If given as DiffractionVectors, it must have the same navigation shape as the electron diffraction patterns. If an ndarray, the same set of vectors is mapped over all electron diffraction patterns.
Methods
Basic intensity integration routine, takes the maximum value at the given vector positions with the number of pixels given by radius.
IntegrationGenerator.extract_intensities_summation_method
([...])Integrate reflections using the summation method.