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