# HG changeset patch # User pfh1976@gmail.com # Date 1333977748 0 # Node ID 8ca6eb401a03451acb2c1ccc69ed49d73336232b # Parent 0fde611fcd10ea579b8c54e200d94311908aa282 Compute member detect_scale_ in AGC_coefficients diff -r 0fde611fcd10 -r 8ca6eb401a03 branches/carfac_cpp/src/AGC.cpp --- a/branches/carfac_cpp/src/AGC.cpp Mon Apr 09 09:43:02 2012 +0000 +++ b/branches/carfac_cpp/src/AGC.cpp Mon Apr 09 13:22:28 2012 +0000 @@ -80,8 +80,7 @@ agc_mix_coeffs_[stage] = AGC_params->agc_mix_coeff_/(tau * (fs/decim)); } agc_gain_ = total_DC_gain; - - // TODO Computation of the detect_scale_ member + detect_scale_ = AGC_params->detect_scale_/total_DC_gain; } AGC_coefficients::~AGC_coefficients(){ // TODO Auto-generated destructor stub