tomoscan.esrf.volume.singleframebase.TIFFLikeDiskAccessor#

class tomoscan.esrf.volume.singleframebase.TIFFLikeDiskAccessor#

Bases: object

Class to define a common implementation of ‘_get_slices_from_disk’ for ‘tiff like’ format (!!! single frame per file !!!). (format unable to implement ‘read_n_lines_in_file’, ‘read_n_columns_in_file’ and ‘read_file’ functions

Warning

a class that want to inherit from TIFFLikeDiskAccessor should also inherit from VolumeSingleFrameBase. a separated class has been created instead of a direct inheritance to clearly separate the ‘_get_slices_from_disk’ instantiation

__init__()#

Methods

__init__()

read_file(file_name)

rtype

tuple

read_n_columns_in_file(file_name, column_indices)

rtype

tuple

read_n_lines_in_file(file_name, line_indices)

rtype

tuple