smst.utils.window module

smst.utils.window.blackman_harris_lobe(x)

Generates the main lobe of a Blackman-Harris window.

Parameters:x – bin positions to compute (real values)
Returns:y: main lobe os spectrum of a Blackman-Harris window
smst.utils.window.sinc(x, N)

Generates the main lobe of a sinc function (Dirichlet kernel).

Parameters:
  • x – array of indexes to compute
  • N – size of FFT to simulate
Returns:

y: samples of the main lobe of a sinc function