Blackman window : It is a taper formed by using the first three terms of a summation of cosines. It was designed to have close to the minimal leakage possible. It is close to optimal, only slightly worse than a Kaiser window.
Parameters(numpy.blackman): M : int Number of points in the output window. If zero or less, an empty array is returned. Returns: out : array
The window, with the maximum value normalized to one (the value one appears only if the number of samples is odd).
[ -1.38777878e-17 3.26064346e-02 1.59903635e-01 4.14397981e-01 7.36045180e-01 9.67046769e-01 9.67046769e-01 7.36045180e-01 4.14397981e-01 1.59903635e-01 3.26064346e-02 -1.38777878e-17]
Plotting the window and its frequency response (requires SciPy and matplotlib):
Code : For Window:
Code : For frequency:
- Python | Numpy numpy.ndarray.__ne__()
- Python | Numpy numpy.ndarray.__eq__()
- Python | Numpy numpy.ndarray.__xor__()
- Python | Numpy numpy.ndarray.__neg__()
- Python | Numpy numpy.ndarray.__iadd__()
- Python | Numpy numpy.ndarray.__truediv__()
- Python | Numpy numpy.ndarray.__ge__()
- Python | Numpy numpy.ndarray.__pos__()
- Python | Numpy numpy.ndarray.__or__()
- Python | Numpy numpy.ndarray.__and__()
- Python | Numpy numpy.ndarray.__lt__()
- Python | Numpy numpy.ndarray.__gt__()
- Python | Numpy numpy.ndarray.__le__()
- Python | Numpy numpy.ndarray.__sub__()
- Python | Numpy numpy.ndarray.__isub__()
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.