NumpyPreProcessor#

class patato.processing.preprocessing_algorithm.NumpyPreProcessor(time_factor=3, detector_factor=2, irf=True, hilbert=True, lp_filter=None, hp_filter=None, filter_window_size=512, window: str | None = 'hann', absolute: bool | str | None = None, couplant_correction=None, couplant_path_length=0)[source]#

Bases: TimeSeriesProcessingAlgorithm

__init__(time_factor=3, detector_factor=2, irf=True, hilbert=True, lp_filter=None, hp_filter=None, filter_window_size=512, window: str | None = 'hann', absolute: bool | str | None = None, couplant_correction=None, couplant_path_length=0)[source]#

Methods

__init__([time_factor, detector_factor, ...])

add_child(child)

apply_filter(pa_data, ft_filter)

get_algorithm_name()

Get the name of the algorithm.

get_hdf5_group_name()

Return the name of the group in the HDF5 file.

interpolate(time_series, detectors[, ...])

make_filter(n_samples, fs, irf, hilbert, ...)

run(time_series, pa_data[, irf, detectors])

static get_algorithm_name() str[source]#

Get the name of the algorithm.

Return type:

str or None

static get_hdf5_group_name() str | None[source]#

Return the name of the group in the HDF5 file.

Return type:

str or None