SciFiReaders.readers.microscopy.spm.afm.fusion.FSexpReader

SciFiReaders.readers.microscopy.spm.afm.fusion.FSexpReader#

class SciFiReaders.readers.microscopy.spm.afm.fusion.FSexpReader(file_path, *args, **kwargs)[source]#

Bases: Reader

Extracts data and metadata from FusionScope HDF5 experiment files (.fsexp files) containing images.

Parameters:

file_path (str) – Path to the file that needs to be read

self._input_file_path#

Path to the file that will be read

Type:

str

Notes

  • This method will check to make sure that the provided file_path is indeed a string and a valid file path.

  • Consider calling can_read() within __init__() for validating the provided file

Raises:

FileNotFoundError

Methods

can_read

read

Reads all image datasets and metadata from the file given in file_path.

read()[source]#

Reads all image datasets and metadata from the file given in file_path.

Returns:

Image datasets are keyed by their index and image name. Summarized metadata is stored in the reader’s metadata. Original full metadata is stored in the reader’s original_metadata.

Return type:

dict[str, sidpy.Dataset]