Skip to main content
`Ctrl`+`K`

# Window functions (`scipy.signal.windows`)

The suite of window functions for filtering and spectral estimation.

`get_window`(window, Nx[, fftbins, xp, device]) | Return a window of a given length and type.
`barthann`(M[, sym, xp, device]) | Return a modified Bartlett-Hann window.
`bartlett`(M[, sym, xp, device]) | Return a Bartlett window.
`blackman`(M[, sym, xp, device]) | Return a Blackman window.
`blackmanharris`(M[, sym, xp, device]) | Return a minimum 4-term Blackman-Harris window.
`bohman`(M[, sym, xp, device]) | Return a Bohman window.
`boxcar`(M[, sym, xp, device]) | Return a boxcar or rectangular window.
`chebwin`(M, at[, sym, xp, device]) | Return a Dolph-Chebyshev window.
`cosine`(M[, sym, xp, device]) | Return a window with a simple cosine shape.
`dpss`(M, NW[, Kmax, sym, norm, ...]) | Compute the Discrete Prolate Spheroidal Sequences (DPSS).
`exponential`(M[, center, tau, sym, xp, device]) | Return an exponential (or Poisson) window.
`flattop`(M[, sym, xp, device]) | Return a flat top window.
`gaussian`(M, std[, sym, xp, device]) | Return a Gaussian window.
`general_cosine`(M, a[, sym]) | Generic weighted sum of cosine terms window
`general_gaussian`(M, p, sig[, sym, xp, device]) | Return a window with a generalized Gaussian shape.
`general_hamming`(M, alpha[, sym, xp, device]) | Return a generalized Hamming window.
`hamming`(M[, sym, xp, device]) | Return a Hamming window.
`hann`(M[, sym, xp, device]) | Return a Hann window.
`kaiser`(M, beta[, sym, xp, device]) | Return a Kaiser window.
`kaiser_bessel_derived`(M, beta, *[, sym, xp, ...]) | Return a Kaiser-Bessel derived window.
`lanczos`(M, *[, sym, xp, device]) | Return a Lanczos window also known as a sinc window.
`nuttall`(M[, sym, xp, device]) | Return a minimum 4-term Blackman-Harris window according to Nuttall.
`parzen`(M[, sym, xp, device]) | Return a Parzen window.
`taylor`(M[, nbar, sll, norm, sym, xp, device]) | Return a Taylor window.
`triang`(M[, sym, xp, device]) | Return a triangular window.
`tukey`(M[, alpha, sym, xp, device]) | Return a Tukey window, also known as a tapered cosine window.