AtomicDiffractionGenerator#

class diffsims.generators.diffraction_generator.AtomicDiffractionGenerator(accelerating_voltage, detector, reciprocal_mesh=False)[source]#

Bases: object

Computes electron diffraction patterns for an atomic lattice.

Parameters:
accelerating_voltagefloat, ‘inf’

The accelerating voltage of the microscope in kV

detectorlist of 1D float-type arrays

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.

Methods

AtomicDiffractionGenerator.calculate_ed_data(...)

Calculates single electron diffraction image for particular atomic structure and probe.