mlx.core.blackman#
- blackman(M: int, *, stream: None | Stream | Device = None) array#
Return the Blackman window.
The Blackman window is a taper formed by using the first three terms of a summation of cosines.
\[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 \le n \le M-1\]