For Power the absolute value of the complex number is used. More...
#include <gri_agc2_cc.h>

Public Member Functions | |
| gri_agc2_cc (float attack_rate=1e-1, float decay_rate=1e-2, float reference=1.0, float gain=1.0, float max_gain=0.0) | |
| float | decay_rate () const |
| float | attack_rate () const |
| float | reference () const |
| float | gain () const |
| float | max_gain () const |
| void | set_decay_rate (float rate) |
| void | set_attack_rate (float rate) |
| void | set_reference (float reference) |
| void | set_gain (float gain) |
| void | set_max_gain (float max_gain) |
| gr_complex | scale (gr_complex input) |
| void | scaleN (gr_complex output[], const gr_complex input[], unsigned n) |
Protected Attributes | |
| float | _attack_rate |
| float | _decay_rate |
| float | _reference |
| float | _gain |
| float | _max_gain |
For Power the absolute value of the complex number is used.
| gri_agc2_cc::gri_agc2_cc | ( | float | attack_rate = 1e-1, |
|
| float | decay_rate = 1e-2, |
|||
| float | reference = 1.0, |
|||
| float | gain = 1.0, |
|||
| float | max_gain = 0.0 | |||
| ) | [inline] |
| float gri_agc2_cc::attack_rate | ( | ) | const [inline] |
References _attack_rate.
| float gri_agc2_cc::decay_rate | ( | ) | const [inline] |
References _decay_rate.
| float gri_agc2_cc::gain | ( | ) | const [inline] |
References _gain.
| float gri_agc2_cc::max_gain | ( | ) | const [inline] |
References _max_gain.
| float gri_agc2_cc::reference | ( | ) | const [inline] |
References _reference.
| gr_complex gri_agc2_cc::scale | ( | gr_complex | input | ) | [inline] |
References _attack_rate, _decay_rate, _gain, _max_gain, _reference, and gnuradio::window::rate().
Referenced by scaleN().
| void gri_agc2_cc::scaleN | ( | gr_complex | output[], | |
| const gr_complex | input[], | |||
| unsigned | n | |||
| ) | [inline] |
References gen_whitener::i, and scale().
| void gri_agc2_cc::set_attack_rate | ( | float | rate | ) | [inline] |
References _attack_rate.
| void gri_agc2_cc::set_decay_rate | ( | float | rate | ) | [inline] |
References _decay_rate.
| void gri_agc2_cc::set_gain | ( | float | gain | ) | [inline] |
References _gain.
| void gri_agc2_cc::set_max_gain | ( | float | max_gain | ) | [inline] |
References _max_gain.
| void gri_agc2_cc::set_reference | ( | float | reference | ) | [inline] |
References _reference.
float gri_agc2_cc::_attack_rate [protected] |
Referenced by attack_rate(), scale(), and set_attack_rate().
float gri_agc2_cc::_decay_rate [protected] |
Referenced by decay_rate(), scale(), and set_decay_rate().
float gri_agc2_cc::_gain [protected] |
Referenced by gain(), scale(), and set_gain().
float gri_agc2_cc::_max_gain [protected] |
Referenced by max_gain(), scale(), and set_max_gain().
float gri_agc2_cc::_reference [protected] |
Referenced by reference(), scale(), and set_reference().
1.5.8