[SciPy-dev] bug in scipy.signal.waveforms
austyn at getcontrol.com
Fri Apr 14 13:52:32 CDT 2006
There is a bug in the chirp() routine in scipy.signal.waveforms.
chirp() generates a frequency-swept cosine waveform.
I filed a defect report in scipy trac:
In summary, the waveform is currently generated as:
cos((frequency*time) + phi)
However, it should really be:
cos((integral of frequency over time) + phi)
There is also a bug regarding the phi parameter: It ought to be
multiplied by 2*pi, but it's not. I didn't test that at first, so
ignore the first patch that I uploaded.
More information about the Scipy-dev