Identity

Identity#

The identity “detrending” simply returns the input time series without any modification. It should only be used for testing or if the data is already detrended.

from delaynet.detrending_methods import identity

# Apply identity detrending (no change)
detrended_ts = identity(time_series)

Warning

The identity function is not a true detrending method. It simply returns the input time series unchanged.