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

sinc_dirichlet

Notes

#TODO

References

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()
../../_images/spkit-blackman_lobe-1.png