diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-02-21 19:04:22 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-02-21 19:04:22 -0500 |
commit | 7b4a518bfe47fb1d0b2a32fc5c93ed0157d2dc6c (patch) | |
tree | 89e077fc55e3f1fc160e43fccb2c2128b8be2e26 /gr-blocks/lib/rms_cf_impl.h | |
parent | e7bd4dcbd4ee20923d38ddd02976d9f0516cd347 (diff) |
blocks: implementing averaging inside rms blocks.
single_pole_iir_filter lives in gr-filter.
Diffstat (limited to 'gr-blocks/lib/rms_cf_impl.h')
-rw-r--r-- | gr-blocks/lib/rms_cf_impl.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-blocks/lib/rms_cf_impl.h b/gr-blocks/lib/rms_cf_impl.h index 438b8549db..316ab2f304 100644 --- a/gr-blocks/lib/rms_cf_impl.h +++ b/gr-blocks/lib/rms_cf_impl.h @@ -24,7 +24,6 @@ #define INCLUDED_BLOCKS_RMS_CF_IMPL_H #include <blocks/rms_cf.h> -#include <gr_single_pole_iir.h> namespace gr { namespace blocks { @@ -36,7 +35,7 @@ namespace gr { class rms_cf_impl : public rms_cf { private: - gr_single_pole_iir<double,double,double> d_iir; + double d_alpha, d_beta, d_avg; public: rms_cf_impl(double alpha = 0.0001); |