This module implements 1D convolution, similar to scipy.signal.convolve.
It supports three modes: ‘full’, ‘same’, and ‘valid’, and can use direct
or FFT-based convolution for analytic scalar types.
Partial fractions of rational transfer functions and related polynomial tools, ported from
scipy.signal: residue/invres (positive powers of s or z), residuez/invresz
(negative powers of z), unique_roots, deconvolve, and the zero-pole-gain conversions
tf2zpk/zpk2tf.
Peak finding in one-dimensional signals: local maxima selected by height, threshold, distance,
prominence and width, following SciPy’s find_peaks, peak_prominences and peak_widths.
This module provides implementations of the sinc function and its normalized version, as well as functions to generate centered sinc windows. The sinc function is defined as sin(pi * x) / (pi * x) for x != 0 and is equal to 1 at x = 0. The normalized sinc function is defined similarly but with a factor of 2 in the argument. The centered sinc window functions generate a vector of sinc values that are centered around zero, which can be used in various signal processing applications, such as interpolation and filter design.
Test waveforms as functions of time, following scipy.signal: sawtooth, square (with a
duty cycle), gausspulse, chirp (linear, quadratic, logarithmic, hyperbolic), sweep_poly
and unit_impulse.
This module implements various window functions commonly used in signal processing applications.
Window functions are used to mitigate spectral leakage when performing Fourier analysis on finite-length signals, by tapering the edges of the signal to reduce discontinuities.
The module includes implementations of standard window functions such as Hanning, Hamming, Blackman, and Kaiser windows, as well as more general functions that allow for custom parameters and shapes.