jax.numpy.blackman

jax.numpy.blackman(*args, **kwargs)

Return the Blackman window.

LAX-backend implementation of blackman().

Original docstring below.

The Blackman window is a taper formed by using the first three terms of a summation of cosines. It was designed to have close to the minimal leakage possible. It is close to optimal, only slightly worse than a Kaiser window.

Parameters

M (int) – Number of points in the output window. If zero or less, an empty array is returned.

Returns

out – The window, with the maximum value normalized to one (the value one appears only if the number of samples is odd).

Return type

ndarray

References

Blackman, R.B. and Tukey, J.W., (1958) The measurement of power spectra, Dover Publications, New York.

Oppenheim, A.V., and R.W. Schafer. Discrete-Time Signal Processing. Upper Saddle River, NJ: Prentice-Hall, 1999, pp. 468-471.