get_dask_array#
- kikuchipy.signals.util.get_dask_array(signal: EBSD | LazyEBSD, dtype: str | dtype | type | None = None, **kwargs) Array [source]#
Return dask array of patterns with appropriate chunking.
- Parameters:
- signal
Signal with data to return dask array from.
- dtype
Data type of returned dask array. This is also passed on to
get_chunking()
.- **kwargs
Keyword arguments passed to
get_chunking()
to control the number of chunks the output data array is split into. Onlychunk_shape
,chunk_bytes
anddtype
are passed on.
- Returns:
dask_array
Dask array with signal data with appropriate chunking and data type.