- KikuchiPatternSimulator.calculate_master_pattern(half_size: Optional[int] = 500, hemisphere: Optional[str] = 'upper', scaling: Optional[str] = 'linear') EBSDMasterPattern [source]#
Calculate a kinematical master pattern in the stereographic projection.
Requires that the
reflectorshave structure factors (
structure_factor) and Bragg angles (
Number of pixels along the x-direction of the square master pattern. Default is
500. The full size will be
2 * half_size + 1, given a master pattern of shape
(1001, 1001)for the default value.
Which hemisphere(s) to calculate. Options are
Intensity scaling of the band kinematical intensities, either
"square", \(|F|^2\), or
"None", giving all bands an intensity of
Kinematical master pattern in the stereographic projection.
The algorithm for selecting which unit vector is within a Kikuchi band is derived from a similar routine in EMsoft.