GNU Radio 3.6.5 C++ API
|
compute avg magnitude squared. More...
#include <probe_avg_mag_sqrd_cf.h>
Public Types | |
typedef boost::shared_ptr < probe_avg_mag_sqrd_cf > | sptr |
Public Member Functions | |
virtual bool | unmuted () const =0 |
virtual double | level () const =0 |
virtual double | threshold () const =0 |
virtual void | set_alpha (double alpha)=0 |
virtual void | set_threshold (double decibels)=0 |
Static Public Member Functions | |
static sptr | make (double threshold_db, double alpha=0.0001) |
Make a block that computes avg magnitude squared. |
compute avg magnitude squared.
Input stream 0: complex Output stream 0: float
Compute a running average of the magnitude squared of the the input. The level and indication as to whether the level exceeds threshold can be retrieved with the level and unmuted accessors.
virtual double gr::analog::probe_avg_mag_sqrd_cf::level | ( | ) | const [pure virtual] |
Implemented in gr::analog::probe_avg_mag_sqrd_cf_impl.
static sptr gr::analog::probe_avg_mag_sqrd_cf::make | ( | double | threshold_db, |
double | alpha = 0.0001 |
||
) | [static] |
Make a block that computes avg magnitude squared.
threshold_db | Threshold for muting. |
alpha | Gain parameter for the running average filter. |
virtual void gr::analog::probe_avg_mag_sqrd_cf::set_alpha | ( | double | alpha | ) | [pure virtual] |
Implemented in gr::analog::probe_avg_mag_sqrd_cf_impl.
virtual void gr::analog::probe_avg_mag_sqrd_cf::set_threshold | ( | double | decibels | ) | [pure virtual] |
Implemented in gr::analog::probe_avg_mag_sqrd_cf_impl.
virtual double gr::analog::probe_avg_mag_sqrd_cf::threshold | ( | ) | const [pure virtual] |
Implemented in gr::analog::probe_avg_mag_sqrd_cf_impl.
virtual bool gr::analog::probe_avg_mag_sqrd_cf::unmuted | ( | ) | const [pure virtual] |
Implemented in gr::analog::probe_avg_mag_sqrd_cf_impl.