Mercurial > hg > aimc
changeset 497:df22068a5b55 carfac_cpp
Compute member detect_scale_ in AGC_coefficients
author | pfh1976@gmail.com |
---|---|
date | Mon, 09 Apr 2012 13:22:28 +0000 |
parents | 5a5fc3a6051b |
children | 83cd5bbf2a3e |
files | src/AGC.cpp |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/AGC.cpp Mon Apr 09 09:43:02 2012 +0000 +++ b/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