scipy/scipy — pull request #3266 by mawesi (2014-02-01 21:41:15+00:00)
Title: ENH: signal: add type=None as parameter for detrend

Add the option to give ``type=None`` as parameter to signal.detrend. This will turn off detrending and return the input data. This is especially useful for functions using signal.detrend internally, such as signal.welch or signal.periodogram.