biopsykit.signals.icg.preprocessing package

Module for preprocessing ICG signals.

class biopsykit.signals.icg.preprocessing.IcgPreprocessingBandpass(method='butterworth')[source]

Bases: Algorithm

Initialize new IcgPreprocessingBandpass instance.

Parameters

method (str, optional) – Method to use for filtering. Can be one of {“butterworth”, “elliptic”, “savgol”}. Default: “butterworth”

icg_clean_: DataFrame
method: str
clean(*, icg, sampling_rate_hz)[source]

Clean ICG signal using a band-pass filter.

Parameters
  • icg (DataFrame) – pandas DataFrame containing the raw ICG signal

  • sampling_rate_hz (int) – Sampling rate of the ICG signal in Hz

Return type

self

Raises

ValueError – If the filter type is not one of {“butterworth”, “elliptic”, “savgol”}