SimulationGenerator#
- class diffsims.generators.simulation_generator.SimulationGenerator(accelerating_voltage: float = 200, scattering_params: str = 'lobato', precession_angle: float = 0, shape_factor_model: str = 'lorentzian', approximate_precession: bool = True, minimum_intensity: float = 1e-20, **kwargs)[source]#
Bases:
objectA class for generating kinematic diffraction simulations.
Attributes
Methods
Calculates the 1-D profile of the diffraction pattern for one phases.
Calculates the diffraction pattern for one or more phases given a list of rotations for each phase.
Calculates the reciprocal lattice vectors that intersect the Ewald sphere.