[SciPy-dev] bug in scipy.signal.wavelets.morlet()?

Christoph T. Weidemann ctw@cogsci.i...
Wed Mar 19 08:50:56 CDT 2008


Hi All!

I came across what seems to me like an obvious bug in
scipy.signal.wavelets.morlet():

If complete==True (the default setting) the output does not correspond
to the formula in the docstring.
I believe the bug would be fixed if the if statement were changed from:

    if complete:
        x -= exp(-0.5*(w**2))

to

    if complete:
        output -= exp(-0.5*(w**2))

Best,
Christoph Weidemann


More information about the Scipy-dev mailing list