high performance Automatic Gain Control class
More...
#include <gnuradio/analog/agc2.h>
high performance Automatic Gain Control class
For Power the absolute value of the complex number is used.
◆ agc2_cc()
gr::analog::kernel::agc2_cc::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 |
Construct a comple value AGC loop implementation object.
- Parameters
-
attack_rate | the update rate of the loop when in attack mode. |
decay_rate | the update rate of the loop when in decay mode. |
reference | reference value to adjust signal power to. |
gain | initial gain value. |
max_gain | maximum gain value (0 for unlimited). |
◆ attack_rate()
float gr::analog::kernel::agc2_cc::attack_rate |
( |
| ) |
const |
|
inline |
◆ decay_rate()
float gr::analog::kernel::agc2_cc::decay_rate |
( |
| ) |
const |
|
inline |
◆ gain()
float gr::analog::kernel::agc2_cc::gain |
( |
| ) |
const |
|
inline |
◆ max_gain()
float gr::analog::kernel::agc2_cc::max_gain |
( |
| ) |
const |
|
inline |
◆ reference()
float gr::analog::kernel::agc2_cc::reference |
( |
| ) |
const |
|
inline |
◆ scale()
◆ scaleN()
void gr::analog::kernel::agc2_cc::scaleN |
( |
gr_complex |
output[], |
|
|
const gr_complex |
input[], |
|
|
unsigned |
n |
|
) |
| |
|
inline |
◆ set_attack_rate()
void gr::analog::kernel::agc2_cc::set_attack_rate |
( |
float |
rate | ) |
|
|
inline |
◆ set_decay_rate()
void gr::analog::kernel::agc2_cc::set_decay_rate |
( |
float |
rate | ) |
|
|
inline |
◆ set_gain()
void gr::analog::kernel::agc2_cc::set_gain |
( |
float |
gain | ) |
|
|
inline |
◆ set_max_gain()
void gr::analog::kernel::agc2_cc::set_max_gain |
( |
float |
max_gain | ) |
|
|
inline |
◆ set_reference()
void gr::analog::kernel::agc2_cc::set_reference |
( |
float |
reference | ) |
|
|
inline |
◆ _attack_rate
float gr::analog::kernel::agc2_cc::_attack_rate |
|
protected |
◆ _decay_rate
float gr::analog::kernel::agc2_cc::_decay_rate |
|
protected |
◆ _gain
float gr::analog::kernel::agc2_cc::_gain |
|
protected |
◆ _max_gain
float gr::analog::kernel::agc2_cc::_max_gain |
|
protected |
◆ _reference
float gr::analog::kernel::agc2_cc::_reference |
|
protected |
The documentation for this class was generated from the following file: