scipy.signal.detrend

scipy.signal.detrend(data, axis=-1, type='linear', bp=0)

Remove linear trend along axis from data.

If type is ‘constant’ then remove mean only.

If bp is given, then it is a sequence of points at which to
break a piecewise-linear fit to the data.

Previous topic

scipy.signal.decimate

Next topic

scipy.signal.resample

This Page