hacked dsp.py to return array of ones for window='none' option