scipy.signal.get_window

scipy.signal.get_window(window, Nx, fftbins=1)

Return a window of length Nx and type window.

If fftbins is 1, create a “periodic” window ready to use with ifftshift and be multiplied by the result of an fft (SEE ALSO fftfreq).

Window types: boxcar, triang, blackman, hamming, hanning, bartlett,
parzen, bohman, blackmanharris, nuttall, barthann, kaiser (needs beta), gaussian (needs std), general_gaussian (needs power, width), slepian (needs width)

If the window requires no parameters, then it can be a string. If the window requires parameters, the window argument should be a tuple

with the first argument the string name of the window, and the next arguments the needed parameters.
If window is a floating point number, it is interpreted as the beta
parameter of the kaiser window.

Previous topic

scipy.signal.hilbert

Next topic

scipy.signal.detrend

This Page

Quick search