CARFAC C++
C++ implementation of CARFAC
AGCParam Class Reference

#include <AGCParam.H>

Inheritance diagram for AGCParam:
Collaboration diagram for AGCParam:

List of all members.

Public Member Functions

 AGCParam (int n_stages_=AGC_STAGE_COUNT, Array< FP_TYPE, AGC_STAGE_COUNT, 1 > time_constants_=Array< FP_TYPE, AGC_STAGE_COUNT, 1 >(1., 4., 16., 64.)*0.002, FP_TYPE AGC_stage_gain_=2., Array< int, AGC_STAGE_COUNT, 1 > decimation_=Array< int, AGC_STAGE_COUNT, 1 >(8, 2, 2, 2), Array< FP_TYPE, AGC_STAGE_COUNT, 1 > AGC1_scales_=Array< FP_TYPE, AGC_STAGE_COUNT, 1 >(1.0, 1.4, 2.0, 2.8), Array< FP_TYPE, AGC_STAGE_COUNT, 1 > AGC2_scales_=Array< FP_TYPE, AGC_STAGE_COUNT, 1 >(1.6, 2.25, 3.2, 4.5), FP_TYPE AGC_mix_coeff_=0.5)
 Constructor with default parameter values.
virtual ~AGCParam ()

Private Attributes

int n_stages
 Stage count.
Array< FP_TYPE,
AGC_STAGE_COUNT, 1 > 
time_constants
 seconds
FP_TYPE AGC_stage_gain
 gain from each stage to next slower stage
Array< int, AGC_STAGE_COUNT, 1 > decimation
 how often to update the AGC states
Array< FP_TYPE,
AGC_STAGE_COUNT, 1 > 
AGC1_scales
 in units of channels
Array< FP_TYPE,
AGC_STAGE_COUNT, 1 > 
AGC2_scales
 spread more toward base
FP_TYPE AGC_mix_coeff
 Dick, whats this ?

Detailed Description

Author:
{Matt Flax <flatmax@>}
Date:
2013.02.08

Parameters for the automatic gain control


Constructor & Destructor Documentation

AGCParam::AGCParam ( int  n_stages_ = AGC_STAGE_COUNT,
Array< FP_TYPE, AGC_STAGE_COUNT, 1 >  time_constants_ = Array<FP_TYPEAGC_STAGE_COUNT,1>(1., 4., 16., 64.)*0.002,
FP_TYPE  AGC_stage_gain_ = 2.,
Array< int, AGC_STAGE_COUNT, 1 >  decimation_ = Array<int,AGC_STAGE_COUNT, 1>(8, 2, 2, 2),
Array< FP_TYPE, AGC_STAGE_COUNT, 1 >  AGC1_scales_ = Array<FP_TYPEAGC_STAGE_COUNT,1>(1.0, 1.4,  2.0, 2.8),
Array< FP_TYPE, AGC_STAGE_COUNT, 1 >  AGC2_scales_ = Array<FP_TYPEAGC_STAGE_COUNT,1>(1.6, 2.25, 3.2, 4.5),
FP_TYPE  AGC_mix_coeff_ = 0.5 
)

Constructor with default parameter values.

Author:
{Matt Flax <flatmax@>}
Date:
2013.02.08
AGCParam::~AGCParam ( ) [virtual]

Member Data Documentation

in units of channels

spread more toward base

Dick, whats this ?

gain from each stage to next slower stage

Array<int,AGC_STAGE_COUNT, 1> AGCParam::decimation [private]

how often to update the AGC states

int AGCParam::n_stages [private]

Stage count.

seconds


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Defines