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