Check out the Free (Big) Data analysis of 4D-STEM workshop in Trondheim, Norway, 11-13 June 2024

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.