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:
*args

See Signal2D.

hemispherestr

Which hemisphere the data contains, either "upper", "lower", or "both".

phasePhase

The phase describing the crystal structure used in the master pattern simulation.

projectionstr

Which projection the pattern is in, "stereographic" or "lambert".

**kwargs

See Signal2D.

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

EBSDMasterPattern.hemisphere

Return or set which hemisphere(s) the signal contains.

EBSDMasterPattern.phase

Return or set the phase describing the crystal structure used in the master pattern simulation.

EBSDMasterPattern.projection

Return or set which projection the pattern is in.

Methods

EBSDMasterPattern.as_lambert([show_progressbar])

Return a new master pattern in the Lambert projection [Callahan and De Graef, 2013].

EBSDMasterPattern.deepcopy()

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].

EBSDMasterPattern.normalize_intensity([...])

Normalize image intensities in inplace to a mean of zero with a given standard deviation.

EBSDMasterPattern.plot_spherical([energy, ...])

Plot the master pattern sphere.

EBSDMasterPattern.rescale_intensity([...])

Rescale image intensities inplace.

Examples using EBSDMasterPattern#