Hamming window
The Hamming window is formed by a weighted cosine. The formula is as follows:
The NumPy hamming()
function returns the Hamming window. The only parameter is the number of points M
in the output window. If this number is 0
or less than 0
, an empty array is returned.