Skip to main content

Module discrete

Module discrete 

Source

Modules§

controls
convolve
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.
cross_correlation
Cross-correlation, similar to scipy.signal.correlate.
digital_communications
Digital communications blocks and algorithms.
fft_convolution
FFT-based convolution, similar to scipy.signal.fftconvolve.
fft_cross_correlation
FFT-based cross-correlation, similar to scipy.signal.correlate(..., method="fft").
filters
image
Image processing routines and algorithms.
partial_fractions
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.
peaks
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.
radar
resampling
signal_tools
Signal-processing utilities following scipy.signal: filter analysis (group_delay, minimum_phase), least-squares FIR design (firls), rate changes (decimate and the FFT resample), medfilt, the amplitude envelope, and cross-spectral analysis (csd, coherence).
sinc
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.
sources
Signal sources and generators.
spectral
stream_operator
The streaming interface shared by filters and other block processors.
synchronization
transformations
waveforms
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.
windows
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.