#filter #iir #moving-average #low-pass #signal-processing #lpf #ewma

no-std time-series-filter

Filters such as exponential weighted moving average (IIR LPF)

2 releases

0.1.2 Nov 12, 2023
0.1.0 Apr 13, 2020

#732 in Embedded development

BSD-3-Clause

10KB
199 lines

time-series-filter

Some convenient traits and types for processing sequential data.

  • FloatSeriesEwmaFilter can be used to track the exponential weighted moving average (EWMA) of a varying signal. This is essentially an infinite impulse response (IIR) filter and a low pass filter (LPF).
  • IntSeriesEwmaFilter creates a filter for integer types, which avoids floating point math.

Examples

See the tests in lib.rs for examples of usage.

License

BSD-3-Clause, see LICENSE file.

Dependencies

~560KB
~11K SLoC