DataSequence

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, ABC

Abstract 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

attributes

ax_0_labels

ax_1_labels

cmap

dtype

extent

n_im_dim

ndim

numpy_array

raw_data

save_output

shape

shape_2d

values