KikuchiPatternSimulator#

class kikuchipy.simulations.KikuchiPatternSimulator(reflectors: ReciprocalLatticeVector)[source]#

Bases: object

Setup and calculation of geometrical or kinematical Kikuchi pattern simulations.

Parameters:
reflectors

Reflectors to use in the simulation, flattened to one navigation dimension.

Attributes

KikuchiPatternSimulator.phase

Return the phase with unit cell and symmetry.

KikuchiPatternSimulator.reflectors

Return the reflectors to use in the simulation.

Methods

KikuchiPatternSimulator.calculate_master_pattern([...])

Calculate a kinematical master pattern in the stereographic projection.

KikuchiPatternSimulator.on_detector(...)

Project Kikuchi lines and zone axes onto a detector, one per crystal orientation.

KikuchiPatternSimulator.plot([projection, ...])

Plot reflectors as lines or bands in the stereographic or spherical projection.