[SciPy-Dev] Add detrend=None for scipy.signal.welch et al.

Ralf Gommers ralf.gommers at gmail.com
Sat Feb 1 11:04:52 EST 2014


On Fri, Jan 31, 2014 at 10:40 PM, Maximilian Singh <mws at lionex.de> wrote:

> Hey all,
>
> I suggest to add the possibility to turn off the 'detrend' functionality
> in scipy.signal.welch and scipy.signal.periodogram, e.g. by giving
> 'detrend=None' as parameter.  Although detrending is an useful option,
> there are also use cases where DC should not be suppressed.
>
> Do you agree that this is common enough to be added?
>

Hard to judge how common it is, but if you have a use case then I don't see
any problem in adding it. PR welcome.

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20140201/a1fbeb64/attachment.html>


More information about the SciPy-Dev mailing list