GNU Radio 3.7.1 C++ API
gr::analog::agc3_cc Class Reference

high performance Automatic Gain Control class with attack and decay rates. More...

#include <agc3_cc.h>

Inheritance diagram for gr::analog::agc3_cc:

List of all members.

Public Types

typedef boost::shared_ptr
< agc3_cc
sptr

Public Member Functions

virtual float attack_rate () const =0
virtual float decay_rate () const =0
virtual float reference () const =0
virtual float gain () const =0
virtual float max_gain () const =0
virtual void set_attack_rate (float rate)=0
virtual void set_decay_rate (float rate)=0
virtual void set_reference (float reference)=0
virtual void set_gain (float gain)=0
virtual void set_max_gain (float max_gain)=0

Static Public Member Functions

static sptr make (float attack_rate=1e-1, float decay_rate=1e-2, float reference=1.0, float gain=1.0)

Detailed Description

high performance Automatic Gain Control class with attack and decay rates.

Unlike the AGC2 loop, this uses an initial linear calculation at the beginning for very fast initial acquisition. Moves to IIR model for tracking purposes.

For Power the absolute value of the complex number is used.


Member Typedef Documentation


Member Function Documentation

virtual float gr::analog::agc3_cc::attack_rate ( ) const [pure virtual]
virtual float gr::analog::agc3_cc::decay_rate ( ) const [pure virtual]
virtual float gr::analog::agc3_cc::gain ( ) const [pure virtual]
static sptr gr::analog::agc3_cc::make ( float  attack_rate = 1e-1,
float  decay_rate = 1e-2,
float  reference = 1.0,
float  gain = 1.0 
) [static]

Build a complex value AGC loop block with attack and decay rates.

Parameters:
attack_ratethe update rate of the loop when in attack mode.
decay_ratethe update rate of the loop when in decay mode.
referencereference value to adjust signal power to.
gaininitial gain value.
virtual float gr::analog::agc3_cc::max_gain ( ) const [pure virtual]
virtual float gr::analog::agc3_cc::reference ( ) const [pure virtual]
virtual void gr::analog::agc3_cc::set_attack_rate ( float  rate) [pure virtual]
virtual void gr::analog::agc3_cc::set_decay_rate ( float  rate) [pure virtual]
virtual void gr::analog::agc3_cc::set_gain ( float  gain) [pure virtual]
virtual void gr::analog::agc3_cc::set_max_gain ( float  max_gain) [pure virtual]
virtual void gr::analog::agc3_cc::set_reference ( float  reference) [pure virtual]

The documentation for this class was generated from the following file: