as_lazy#

EBSD.as_lazy(*args, **kwargs) LazyEBSD[source]#

Create a copy of the given Signal as a LazySignal.

This docstring was copied from HyperSpy’s Signal2D.as_lazy. Some inconsistencies with the kikuchipy version may exist.

Parameters:
chunksstr or tuple

Define chunking of the dask array. If "auto", automatic chunking will be used and the signal dimension will not be split. If dask_auto", dask’s automatic chunking will be used. If tuple, it defines the chunks, see dask documentation for more information on defining chunks. If str and the array is already a dask array, don’t change the chunking.

copy_variancebool

Whether or not to copy the variance from the original Signal to the new lazy version. Default is True.

copy_navigatorbool

Whether or not to copy the navigator from the original Signal to the new lazy version. Default is True.

copy_learning_resultsbool

Whether to copy the learning_results from the original signal to the new lazy version. Default is True.

Returns:
resLazySignal

The same signal, converted to be lazy