EMAFilter
Exponential Moving Average (EMA) filter.
Applies the recurrence: \(y_{n} = \alpha \cdot x_n + (1 - \alpha) \cdot y_n\)
The first output uses \(y_{-1} = 0\) unless previous is preset.
Parameters
alpha
smoothing factor \(\alpha \in 0.0, 1.0\); higher values weight newer samples more.