use DSP window functions instead of scipy