Function filters::exponentialSmoothing

Function Documentation

static inline double filters::exponentialSmoothing(double current_raw_value, double last_smoothed_value, double alpha)

Exponential smoothing filter. Alpha is between 0 and 1. Values closer to 0 weight the last smoothed value more heavily