window

window(wintype, n)[source]

Retrieve the get_window weighting function window.

Parameters
  • wintype (str or (str, float) tuple) – The window name or (name, param1, ...) tuple containing the window name and required parameter(s).

  • n (int) – The window length.

Returns

  • win (array-like) – The window coefficients.

  • power of your FFT coefficients. If your window requires some parameter,

  • wintype must be a (name, parameter1, ...) tuple.