SciFiReaders.readers.microscopy.em.tem.emd_reader.EMDReader

class SciFiReaders.readers.microscopy.em.tem.emd_reader.EMDReader(file_path)[source]

Bases: sidpy.sid.reader.Reader

Creates 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

Methods

can_read

Checks whether or not this Reader can read the provided file

close

get_data

get_eds

get_eds_spectrum

get_image

get_metadata

read

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

bool

read(eds_stream=False)[source]

Reads all available datasets in FEI Velox style hdf5 files with .edm

Parameters

eds_stream (boolean) – switch to return spectrum image (default - False) or original spectrum stream (True)

Returns

datasets – Datasets present in the provided file

Return type

list of sidpy.Dataset objects