Skip to main content

Module windows

Module windows 

Source

Functions§

bartlett
Return the Bartlett (triangular) window of length m.
bartlett_f32
f32 version of bartlett (#529).
blackman
Return the Blackman window of length m.
blackman_f32
f32 version of blackman (#529).
bohman
Bohman window of length m (#738).
boxcar
Boxcar (rectangular) window of length m (#738).
chebwin
Dolph–Chebyshev window with sidelobe attenuation at dB (#740).
cosine
Half-cycle cosine window (also known as the “sine” window).
dpss
Discrete prolate spheroidal sequence (Slepian taper) (#745).
exponential
Exponentially decaying window centred on center with time-constant tau.
flattop
Flat-top window of length m (#738).
gaussian
Gaussian window with standard deviation std.
general_cosine
Generalized cosine sum window: w(n) = Σ_k (-1)^k a[k] cos(2π k n / (M-1)).
general_hamming
Generalized Hamming window: w(n) = α - (1 - α) cos(2π n / (M - 1)).
hamming
Return the Hamming window of length m.
hamming_f32
f32 version of hamming (#529).
hanning
Return the Hann (Hanning) window of length m.
hanning_f32
f32 version of hanning (#529).
kaiser
Return the Kaiser window of length m with shape parameter beta.
kaiser_f32
f32 version of kaiser (#529).
lanczos
Lanczos (sinc) window of length m (#738).
nuttall
4-term Nuttall window with continuous first derivative.
parzen
Parzen (de la Vallée Poussin) window: a piecewise-cubic B-spline.
taylor
Taylor window with nbar near-side lobes and a sidelobe level of sll dB below the main lobe.
triang
Triangular window of length m (#738).
tukey
Tukey (cosine-tapered) window with taper ratio alpha ∈ [0, 1].