SciFiReaders.readers.microscopy.em.tem.nion_reader.NionReader

SciFiReaders.readers.microscopy.em.tem.nion_reader.NionReader#

class SciFiReaders.readers.microscopy.em.tem.nion_reader.NionReader(file_path, verbose=False)[source]#

Bases: Reader

Reader for Nion ndata and h5 files

Parameter:#

file_path: str

filepath to Nion file.

Return:#

datasets: dict

dictionary of sidpy datasets

param file_path:

Path to the file that needs to be read

type file_path:

str

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

extract_crucial_metadata

Read essential parameter from original_metadata originating from a Nion file

get_dimensions

get_filename

get_raw

get_tags

read

set_data_type

Attributes

data

filename

tags

extract_crucial_metadata(dataset_index)[source]#

Read essential parameter from original_metadata originating from a Nion file