file_reader# Union[str, Path], scan_group_names: Union[None, str, List[str]] = None, lazy: bool = False, **kwargs) List[dict][source]#

Read electron backscatter diffraction patterns, a crystal map, and an EBSD detector from a kikuchipy h5ebsd file [Jackson et al., 2014].

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

The file is closed after reading if lazy=False.


Full file path of the HDF5 file.


Name or a list of names of HDF5 top group(s) containing the scan(s) to return. If not given (default), the first scan in the file is returned.


Open the data lazily without actually reading the data from disk until required. Allows opening arbitrary sized datasets. Default is False.


Keyword arguments passed to h5py.File.


List of one or more dictionaries with the keys "axes", "data", "metadata", "original_metadata", "detector", "static_background", and "xmap". This dictionary can be passed as keyword arguments to create an EBSD signal.