cupy.blackman#

cupy.blackman(M)[source]#

Returns the Blackman window.

The Blackman window is defined as

\[w(n) = 0.42 - 0.5 \cos\left(\frac{2\pi{n}}{M-1}\right) + 0.08 \cos\left(\frac{4\pi{n}}{M-1}\right) \qquad 0 \leq n \leq M-1\]
Parameters:

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

Returns:

Output ndarray.

Return type:

ndarray

See also

numpy.blackman()