[Numpy-discussion] Hamming etc. windows are wrong
daverz at gmail.com
Sun Sep 28 15:05:59 EDT 2014
On Fri, Sep 26, 2014 at 1:41 AM, Jerry <lanceboyle at qwest.net> wrote:
> I’ve noticed that the Hamming window (and I suppose other windows)
> provided by Octave, SciPy****, and NumPy***** is wrong, returning a window
> that is symmetric rather than one that is “DFT symmetric.” This is easily
> spotted by looking at the first and last points of the window; if they are
> the same values, then the window is incorrect.
If you use signal.get_window(), the default is sym=False:
def get_window(window, Nx, fftbins=True):
sym = not fftbins
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion