Blackman window
The Blackman window is formed by summing the first three terms of cosines, as follows:

The NumPy blackman
function returns the Blackman window. The only parameter is the number of points in the output window. If this number is 0 or less than 0, an empty array is returned.