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.
- detrending_methods.identity()
Identity ‘detrending’ - no detrending.
- Parameters:
ts (numpy.ndarray) – Time series to detrend.
- Returns:
‘detrended’ time series.
- Return type: