From dee8de57ad54c0c1cf46b63066de571c8cb98470 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 21 Jun 2016 11:15:33 +0200 Subject: filter/ewma: change delta smoothing constant back --- filter-ewma2/ftnoir_filter_ewma2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filter-ewma2/ftnoir_filter_ewma2.h b/filter-ewma2/ftnoir_filter_ewma2.h index 328279ac..c5e4b241 100644 --- a/filter-ewma2/ftnoir_filter_ewma2.h +++ b/filter-ewma2/ftnoir_filter_ewma2.h @@ -26,8 +26,8 @@ public: FTNoIR_Filter(); void filter(const double *input, double *output); private: - // Deltas are smoothed over the last 1/20sec. - const double delta_RC = 1./20; + // Deltas are smoothed over the last 1/60sec. + const double delta_RC = 1./60; // Noise is smoothed over the last 60sec. const double noise_RC = 60.0; double last_delta[6]; -- cgit v1.2.3