file_reader#

kikuchipy.io.plugins.emsoft_ebsd.file_reader(filename: str | Path, scan_size: None | int | Tuple[int, ...] = None, lazy: bool = False, **kwargs) List[dict][source]#

Read dynamically simulated electron backscatter diffraction patterns from EMsoft’s format produced by their EMEBSD.f90 program.

Not meant to be used directly; use load().

Parameters:
filename

Full file path of the HDF file.

scan_size

Scan size in number of patterns in width and height.

lazy

Open the data lazily without actually reading the data from disk until requested. Allows opening datasets larger than available memory. Default is False.

**kwargs

Keyword arguments passed to h5py.File.

Returns:
signal_dict_list

Data, axes, metadata and original metadata.