EBSDMasterPattern#
- class kikuchipy.signals.EBSDMasterPattern(*args, **kwargs)[source]#
Bases:
KikuchiMasterPattern
Simulated Electron Backscatter Diffraction (EBSD) master pattern.
This class extends HyperSpy’s Signal2D class for EBSD master patterns.
See the documentation of
Signal2D
for the list of inherited attributes and methods.- Parameters:
See also
kikuchipy.data.nickel_ebsd_master_pattern_small
A nickel EBSD master pattern dynamically simulated with EMsoft.
Examples
>>> import kikuchipy as kp >>> s = kp.data.nickel_ebsd_master_pattern_small() >>> s <EBSDMasterPattern, title: ni_mc_mp_20kv_uint8_gzip_opts9, dimensions: (|401, 401)> >>> s.hemisphere 'upper' >>> s.phase <name: ni. space group: Fm-3m. point group: m-3m. proper point group: 432. color: tab:blue> >>> s.projection 'stereographic'
Attributes
Return or set which hemisphere(s) the signal contains.
Return or set the phase describing the crystal structure used in the master pattern simulation.
Return or set which projection the pattern is in.
Methods
Enhance the local contrast using adaptive histogram equalization.
EBSDMasterPattern.as_lambert
([show_progressbar])Return a new master pattern in the Lambert projection [Callahan and De Graef, 2013].
Return a deep copy using
copy.deepcopy()
.EBSDMasterPattern.get_patterns
(rotations, ...)Return one or more EBSD patterns projected onto a detector from a master pattern in the square Lambert projection for rotation(s) relative to the EDAX TSL sample reference frame (RD, TD, ND) [Callahan and De Graef, 2013].
Normalize image intensities to a mean of zero with a given standard deviation.
EBSDMasterPattern.plot_spherical
([energy, ...])Plot the master pattern sphere.
Rescale image intensities.