jax.numpy.bartlett#
- jax.numpy.bartlett(M)[source]#
Return a Bartlett window of size M.
JAX implementation of
numpy.bartlett()
.- Parameters:
M (int) – The window size.
- Returns:
An array of size M containing the Bartlett window.
- Return type:
Examples
>>> with jnp.printoptions(precision=2, suppress=True): ... print(jnp.bartlett(4)) [0. 0.67 0.67 0. ]
See also
jax.numpy.blackman()
: return a Blackman 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.