jax.numpy.hamming

Contents

jax.numpy.hamming#

jax.numpy.hamming(M)[source]#

Return the Hamming window.

LAX-backend implementation of numpy.hamming().

Original docstring below.

The Hamming window is a taper formed by using a weighted cosine.

Parameters:

M (int) – Number of points in the output window. If zero or less, an empty array is returned.

Returns:

out – The window, with the maximum value normalized to one (the value one appears only if the number of samples is odd).

Return type:

ndarray

References