### Navigation

- index
- modules |
- next |
- previous |
- SciPy v0.7 Reference Guide (DRAFT) »
- Signal processing (`scipy.signal`) »

# 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.

### Navigation

- index
- modules |
- next |
- previous |
- SciPy v0.7 Reference Guide (DRAFT) »
- Signal processing (`scipy.signal`) »