SciFiReaders.readers.microscopy.em.tem.emd_reader.EMDReader#
- class SciFiReaders.readers.microscopy.em.tem.emd_reader.EMDReader(file_path: str, sum_frames: bool = False, no_eds: bool = False, eds_stream: bool = False)[source]#
Bases:
ReaderCreates an instance of EMDReader which can read one or more HDF5 datasets formatted in the FEI Velox style EDM file
We can read Images, and SpectrumStreams (SpectrumImages and Spectra). Please note that all original metadata are retained in each sidpy dataset.
- Parameters:
file_path (str) – Path to a HDF5 file
- Returns:
datasets – dictionary of sidpy.Datasets
- Return type:
Initialize an EMDReader instance.
- Parameters:
- data_array#
Array to hold data from the file.
- Type:
ndarray or None
Methods
Checks whether or not this Reader can read the provided file
Close the h5 file.
Extract some crucial metadata from the original metadata.
Get the image data and metadata from the file.
Get the EDS data from the file.
Get the EDS spectrum.
Get the image data.
Reads all available datasets in FEI Velox style hdf5 files with .edm
- can_read()[source]#
Checks whether or not this Reader can read the provided file
- Returns:
True if this Reader can read the provided file Else, False
- Return type: