high performance Automatic Gain Control class for float signals. More...
#include <gnuradio/analog/agc.h>
Public Member Functions | |
agc_ff (float rate=1e-4, float reference=1.0, float gain=1.0, float max_gain=0.0) | |
~agc_ff () | |
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) |
float | scale (float input) |
void | scaleN (float output[], const float input[], unsigned n) |
Protected Attributes | |
float | _rate |
float | _reference |
float | _gain |
float | _max_gain |
high performance Automatic Gain Control class for float signals.
Power is approximated by absolute value
|
inline |
Construct a floating point 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). |
References _gain, _max_gain, _rate, _reference, gain(), max_gain(), rate(), and reference().
|
inline |
|
inline |
References _gain.
Referenced by agc_ff(), and set_gain().
|
inline |
References _max_gain.
Referenced by agc_ff(), and set_max_gain().
|
inline |
References _rate.
Referenced by agc_ff(), and set_rate().
|
inline |
References _reference.
Referenced by agc_ff(), and set_reference().
|
inline |
References _gain, _max_gain, _rate, and _reference.
Referenced by scaleN().
|
inline |
References scale().
|
inline |
References _max_gain, and max_gain().
|
inline |
References _reference, and reference().
|
protected |
Referenced by agc_ff(), gain(), scale(), and set_gain().
|
protected |
Referenced by agc_ff(), max_gain(), scale(), and set_max_gain().
|
protected |
Referenced by agc_ff(), rate(), scale(), and set_rate().
|
protected |
Referenced by agc_ff(), reference(), scale(), and set_reference().