Mercurial > hg > aimc
diff src/AGC.h @ 481:cad69634b411 carfac_cpp
(none)
author | Ulf.Hammarqvist@gmail.com |
---|---|
date | Wed, 28 Mar 2012 20:24:28 +0000 |
parents | 5def66bf228f |
children | ea17c0e4e740 |
line wrap: on
line diff
--- a/src/AGC.h Wed Mar 28 17:20:06 2012 +0000 +++ b/src/AGC.h Wed Mar 28 20:24:28 2012 +0000 @@ -7,11 +7,11 @@ public: AGC_parameters(){ n_stages = 4; // redundant? -// time_constants = {1, 4, 16, 64}; + time_constants = {0.002*1, 0.002*4, 0.002*16, 0.002*64}; AGC_stage_gain = 2; -// decimation = {8, 2, 2, 2}; -// AGC1_scales = {1.0, 1.4, 2.0, 2.8}; -// AGC2_scales = {1.6, 2.25, 3.2, 4.5}; + decimation = {8, 2, 2, 2}; + AGC1_scales = {1.0, 1.4, 2.0, 2.8}; + AGC2_scales = {1.6, 2.25, 3.2, 4.5}; detect_scale = 0.25; AGC_mix_coeff = 0.5; } @@ -31,8 +31,10 @@ class AGC_coefficients { public: + AGC_coefficients(AGC_parameters*, float, int); + virtual ~AGC_coefficients(); +private: AGC_coefficients(); - virtual ~AGC_coefficients(); }; #endif /* AGC_H_ */