spkit
.blackman_lobe¶
- spkit.blackman_lobe(x, N=512)¶
Main lobe of a Blackman-Harris window
Main lobe of a Blackman-Harris window
- Parameters:
- xbin positions to compute (real values)
- Nint, default 512
- Returns:
- y: main lobe of spectrum of a Blackman-Harris window
See also
Notes
#TODO
References
wikipedia - https://en.wikipedia.org/wiki/Window_function#:~:text=32%5D%5B36%5D-,Blackman%20window,-%5Bedit%5D
Examples
>>> #sp.blackman_lobe >>> import numpy as np >>> import matplotlib.pyplot as plt >>> import spkit as sp >>> lmag = sp.blackman_lobe(np.arange(12),N=512) >>> plt.plot(lmag) >>> lmag = sp.blackman_lobe(np.arange(8),N=512) >>> plt.plot(lmag) >>> plt.show()