Return a window of length Nx and type window.
If fftbins is True, create a “periodic” window ready to use with ifftshift and be multiplied by the result of an fft (SEE ALSO fftfreq).
If the window requires no parameters, then it can be a string. If the window requires parameters, the window argument should be a tuple
with the first argument the string name of the window, and the next arguments the needed parameters.