GNU Radio 3.7.1 C++ API
|
high performance Automatic Gain Control class for complex signals. More...
#include <agc.h>
Public Member Functions | |
agc_cc (float rate=1e-4, float reference=1.0, float gain=1.0, float max_gain=0.0) | |
virtual | ~agc_cc () |
float | rate () const |
float | reference () const |
float | gain () const |
float | max_gain () const |
void | set_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 | _rate |
float | _reference |
float | _gain |
float | _max_gain |
high performance Automatic Gain Control class for complex signals.
For Power the absolute value of the complex number is used.
gr::analog::kernel::agc_cc::agc_cc | ( | float | rate = 1e-4 , |
float | reference = 1.0 , |
||
float | gain = 1.0 , |
||
float | max_gain = 0.0 |
||
) | [inline] |
Construct a complex value AGC loop implementation object.
rate | the update rate of the loop. |
reference | reference value to adjust signal power to. |
gain | initial gain value. |
max_gain | maximum gain value (0 for unlimited). |
virtual gr::analog::kernel::agc_cc::~agc_cc | ( | ) | [inline, virtual] |
float gr::analog::kernel::agc_cc::gain | ( | ) | const [inline] |
float gr::analog::kernel::agc_cc::max_gain | ( | ) | const [inline] |
float gr::analog::kernel::agc_cc::rate | ( | ) | const [inline] |
float gr::analog::kernel::agc_cc::reference | ( | ) | const [inline] |
gr_complex gr::analog::kernel::agc_cc::scale | ( | gr_complex | input | ) | [inline] |
void gr::analog::kernel::agc_cc::scaleN | ( | gr_complex | output[], |
const gr_complex | input[], | ||
unsigned | n | ||
) | [inline] |
void gr::analog::kernel::agc_cc::set_gain | ( | float | gain | ) | [inline] |
void gr::analog::kernel::agc_cc::set_max_gain | ( | float | max_gain | ) | [inline] |
void gr::analog::kernel::agc_cc::set_rate | ( | float | rate | ) | [inline] |
void gr::analog::kernel::agc_cc::set_reference | ( | float | reference | ) | [inline] |
float gr::analog::kernel::agc_cc::_gain [protected] |
float gr::analog::kernel::agc_cc::_max_gain [protected] |
float gr::analog::kernel::agc_cc::_rate [protected] |
float gr::analog::kernel::agc_cc::_reference [protected] |