as_lambert#

EBSDMasterPattern.as_lambert(show_progressbar: bool | None = None) EBSDMasterPattern[source]#

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

Only implemented for non-lazy signals.

Returns:
lambert_master_pattern

Master pattern in the Lambert projection with the same data shape but in 32-bit floating point data dtype.

Examples

>>> import hyperspy.api as hs
>>> import kikuchipy as kp
>>> mp_sp = kp.data.nickel_ebsd_master_pattern_small()
>>> mp_sp.projection
'stereographic'
>>> mp_lp = mp_sp.as_lambert()
>>> mp_lp.projection
'lambert'
>>> _ = hs.plot.plot_images([mp_sp, mp_lp], per_row=2)
../../_images/kikuchipy-signals-EBSDMasterPattern-as_lambert-1.png