.. _signal_analysis.trend:

Trend Slope
===========

.. automodule:: eyetrace.signal_analysis.trend
   :members:
   :undoc-members:
   :show-inheritance:

Fits a linear trend to a time series and returns the slope. Useful for
detecting gradual drift (e.g., pupil diameter changes over a long recording).