Expand description

A collection of window functions.

Functions

A Bartlett window of a given length.

A Blackman window of a given length. If periodic is true a periodic window is returned, otherwise a symmetric window. See gen_cos for more details.

A Gaussian window of a given length with width factor alpha, which is inversely proportional to the standard deviation. Note that sometimes, the width of a Gaussian window is specified in terms of a parameter that is proportional to the standard deviation (inversely proportional to alpha).

A generalized cosine window of a given length with coefficients coeffs. If periodic is false, a symmetric filter is returned, which is suitable for filter design. If periodic is true, a perfect periodic window is returned, which is useful for spectral analysis. The periodic window is generated by computing a window of length len+1 and then truncating it to the first len taps.

A Hamming window of a given length. If periodic is true a periodic window is returned, otherwise a symmetric window. See gen_cos for more details.

A Hann window of a given length (sometimes also referred to as Hanning window). If periodic is true a periodic window is returned, otherwise a symmetric window. See gen_cos for more details.

A Kaiser window of a given length and shape parameter.

A rectangular window of a given length.