SciFiReaders.readers.microscopy.em.tem.dm3_reader.DM3Reader

SciFiReaders.readers.microscopy.em.tem.dm3_reader.DM3Reader#

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

Bases: Reader

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

get_filename

get_raw

Extracts data as np array

get_tags

read

set_data_type

set_dimensions

Attributes

data_cube

Extracts data as np array

debugLevel

filepath to dm3 file.

filename

tags

property data_cube#

Extracts data as np array

debugLevel = -1#

filepath to dm3 file.

warn(‘This Reader will eventually be moved to the ScopeReaders package’

‘. Be prepared to change your import statements’, FutureWarning)

Type:

file_path

get_raw()[source]#

Extracts data as np array