on_detector#
- KikuchiPatternSimulator.on_detector(detector: EBSDDetector, rotations: Rotation) GeometricalKikuchiPatternSimulation [source]#
Project Kikuchi lines and zone axes onto a detector, one per crystal orientation.
- Parameters:
- detector
EBSD detector describing the detector’s view of the sample. If
navigation_shape
is anything else than(1,)
, it must be equal to the shape of the inputrotations
.- rotations
Crystal orientations assumed to be expressed with respect to the default EDAX TSL sample reference frame RD-TD-ND in the Bunge convention. Rotation shape can be 1D or 2D.
- Returns:
simulations
Geometrical Kikuchi pattern simulation.
Notes
This function is not optimized for large datasets, so use with care.