../_images/calypso.png

toto.filters.detrend

Remove linear trend along axis from data.

Parameters

input_arraypanda obj

The input data.

Type{‘linear’, ‘constant’}, optional

The type of detrending. If type == 'linear' (default),

The result of a linear least-squares fit to data is subtracted from data.

If type == 'constant',

only the mean of data is subtracted.

see <https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.detrend.html>_ for more info

toto.filters.detrend.detrend(input_array, args={'Type': {'constant': False, 'linear': True}})[source]