as_lambert#

ECPMasterPattern.as_lambert(*, show_progressbar: bool | None = None) → Self[source]#

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

Only implemented for non-lazy signals.

Parameters:
show_progressbar

Whether to show a progressbar. If not given, the value of hyperspy.api.preferences.General.show_progressbar is used.

Returns:
master_pattern

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

Raises:
ValueError

If projection is “lambert”.