AtomicDiffractionGenerator#
- class diffsims.generators.diffraction_generator.AtomicDiffractionGenerator(accelerating_voltage, detector, reciprocal_mesh=False)[source]#
Bases:
objectComputes electron diffraction patterns for an atomic lattice.
- Parameters:
- accelerating_voltage
float, ‘inf’ The accelerating voltage of the microscope in kV
- detector
listof1D float-typearrays List of mesh vectors defining the (flat) detector size and sensor positions
- reciprocal_meshbool,
optional If True then detector is assumed to be a reciprocal grid, else (default) it is assumed to be a real grid.
- accelerating_voltage
Methods
Calculates single electron diffraction image for particular atomic structure and probe.