set_master_pattern#
- EBSDDetectorPlotter.set_master_pattern(master_pattern: EBSDMasterPattern, energy: float | None = None, **kwargs: Any) None[source]#
Set the master pattern from which a simulated pattern is projected onto the detector.
Valid if:
A rotation was given upon creation of the plotter
Plotter has no other master pattern added
- Parameters:
- master_pattern
EBSD master pattern in the square Lambert projection.
- energy
Acceleration voltage in kV. If None, the highest energy slice is used.
- **kwargs
Keyword arguments forwarded to
imshow().