photon_mosaic.preprocessing.basepreprocessor#

Classes

BasePreprocessor(imaging[, ...])

BasePreprocessorEpoch(parent_imaging_epoch)

class photon_mosaic.preprocessing.basepreprocessor.BasePreprocessor(imaging, sampling_frequency=None, dtype=None)[source]#
class photon_mosaic.preprocessing.basepreprocessor.BasePreprocessorEpoch(parent_imaging_epoch)[source]#

Methods

get_num_samples()

Return the number of samples in the parent epoch.

get_series(start_frame, end_frame[, ...])

Return a frame series for the requested interval and planes.

get_num_samples()[source]#

Return the number of samples in the parent epoch.

Return type:

int

get_series(start_frame, end_frame, plane_indices=None)[source]#

Return a frame series for the requested interval and planes.

Subclasses must override this to apply their specific preprocessing before returning the requested frames.

Return type:

NDArray[Any]