Ulf@477: #ifndef AGC_H_ Ulf@477: #define AGC_H_ Ulf@477: Ulf@479: #include "CARFAC_common_typedefs.h" Ulf@479: Ulf@477: class AGC_parameters { Ulf@477: public: Ulf@480: AGC_parameters(){ Ulf@480: n_stages = 4; // redundant? Ulf@480: // time_constants = {1, 4, 16, 64}; Ulf@480: AGC_stage_gain = 2; Ulf@480: // decimation = {8, 2, 2, 2}; Ulf@480: // AGC1_scales = {1.0, 1.4, 2.0, 2.8}; Ulf@480: // AGC2_scales = {1.6, 2.25, 3.2, 4.5}; Ulf@480: detect_scale = 0.25; Ulf@480: AGC_mix_coeff = 0.5; Ulf@480: } Ulf@479: Ulf@480: virtual ~AGC_parameters(){} Ulf@480: Ulf@480: int n_stages; Ulf@479: FloatArray time_constants; Ulf@479: float AGC_stage_gain; Ulf@479: FloatArray decimation; Ulf@479: FloatArray AGC1_scales; Ulf@479: FloatArray AGC2_scales; Ulf@479: float detect_scale; Ulf@479: float AGC_mix_coeff; Ulf@479: Ulf@477: }; Ulf@477: Ulf@477: class AGC_coefficients { Ulf@477: public: Ulf@477: AGC_coefficients(); Ulf@477: virtual ~AGC_coefficients(); Ulf@477: }; Ulf@477: Ulf@477: #endif /* AGC_H_ */