DataSequence#
- class patato.core.image_structures.image_sequence.DataSequence(data, dimensions, coordinates=None, attributes=None, hdf5_sub_name=None, algorithm_id=None)[source]#
Bases:
ProcessingResult,ABCAbstract base class for defining a sequence of data, e.g. raw data, reconstructed images, unmixed images. Enables consistent saving and processing for all of these data types.
- __init__(data, dimensions, coordinates=None, attributes=None, hdf5_sub_name=None, algorithm_id=None)[source]#
Methods
__init__(data, dimensions[, coordinates, ...])ax_0_exists()copy([cls])get_ax1_label_meaning()get_hdf5_group_name()get_hdf5_sub_name()imshow([ax, roi_mask, mask_roi, cmap, ...])is_single_instance()save(scan_writer)to_2d()two_dims()Attributes
attributesax_0_labelsax_1_labelscmapdtypeextentn_im_dimndimnumpy_arrayraw_datasave_outputshapeshape_2dvalues