pymovements.gaze.transforms_pl.pos2acc#

pymovements.gaze.transforms_pl.pos2acc(*, sampling_rate: float, window_length: int, degree: int, padding: str | float | int | None = 'nearest') pl.Expr[source]#

Compute acceleration data from positional data.

The method which is used for calculation is savitzky_golay().

Parameters:
  • sampling_rate – Sampling rate of input time series.

  • degree – The degree of the polynomial to use.

  • window_length – The window size to use.

  • padding – The padding to use.