as_lambert#
- ECPMasterPattern.as_lambert(show_progressbar: bool | None = None) ECPMasterPattern [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)