window¶
- window(n, /, wintype='boxcar')[source]¶
Retrieve the
get_window
weighting function window.- Parameters
n (int) – The window length.
wintype (str or (str, float, …) tuple) – The window name or
(name, param1, ...)
tuple containing the name and the required parameter(s).normalize (bool, optional) – Whether to divide the resulting coefficients by their sum.
- Returns
win (array-like) – The window coefficients.