octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Numpy-discussion] Hamming etc. windows are wrong


From: Dave Cook
Subject: Re: [Numpy-discussion] Hamming etc. windows are wrong
Date: Sun, 28 Sep 2014 12:05:59 -0700

On Fri, Sep 26, 2014 at 1:41 AM, Jerry <address@hidden> 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):
    # snip
    sym = not fftbins

Dave Cook




reply via email to

[Prev in Thread] Current Thread [Next in Thread]