blackman#
- class brainunit.math.blackman(M)#
Return a Blackman window of size M.
JAX implementation of
numpy.blackman().- Parameters:
M (
int) – The window size.- Return type:
Array- Returns:
An array of size M containing the Blackman window.
Examples
>>> with jnp.printoptions(precision=2, suppress=True): ... print(jnp.blackman(4)) [-0. 0.63 0.63 -0. ]
See also
jax.numpy.bartlett(): return a Bartlett window of size M.jax.numpy.hamming(): return a Hamming window of size M.jax.numpy.hanning(): return a Hanning window of size M.jax.numpy.kaiser(): return a Kaiser window of size M.