MovingAverage

class torch_ecg.utils.MovingAverage(data: Sequence | None = None, **kwargs: Any)[source]

Bases: object

Class for computing moving average.

For more information, see [1].

Parameters:
  • data (array_like, optional) – The series data to compute its moving average.

  • kwargs (dict, optional) – Auxilliary keyword arguments

References