Module dsp

Module dsp 

Source
Expand description

§Digital Signal Processing Module

This module provides a collection of reusable DSP functions used by various analysis algorithms. It includes implementations for digital filters, transforms, and advanced feature extraction like autocorrelation and period-informed peak finding.

Structs§

Sos

Functions§

autocorrelation
Chooses the most efficient autocorrelation method based on signal length.
butterworth_lowpass
Designs a digital Butterworth lowpass filter.
calculate_center_line
Calculates a dynamic “center line” of a signal.
filtfilt
Applies a zero-phase (forward-backward) digital filter.
find_dominant_period
Finds the dominant period by analyzing a pre-computed autocorrelation function (ACF).
find_extrema_with_period
Finds local maxima and minima using two independent “peak-hopping” searches.
find_extrema_with_savgol
Finds extrema using Savitzky-Golay derivatives.
find_zero_crossing_pulses
Finds the peak of every pulse defined by zero-crossings in the signal.
hilbert_transform
Computes the Hilbert transform of a real-valued signal using the FFT method.