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

AcceleratedIndexationGenerator#

class pyxem.generators.AcceleratedIndexationGenerator(signal, diffraction_library)[source]#

Bases: object

Generates a template-based indexer that also calculates relative rotation of templates.

Parameters:
  • signal (ElectronDiffraction2D) – The signal of electron diffraction patterns to be indexed.

  • diffraction_library (DiffractionLibrary) – The library of simulated diffraction patterns for indexation.

Notes

To be used with minimal template libraries whereby the first euler angle is 0. It is this angle that is optimized during indexation.

Methods

AcceleratedIndexationGenerator.correlate([...])

Correlates the library of simulated diffraction patterns with the electron diffraction signal.