11 #ifndef INCLUDED_ANALOG_PROBE_AVG_MAG_SQRD_F_H
12 #define INCLUDED_ANALOG_PROBE_AVG_MAG_SQRD_F_H
36 typedef std::shared_ptr<probe_avg_mag_sqrd_f>
sptr;
44 static sptr make(
double threshold_db,
double alpha = 0.0001);
47 virtual double level()
const = 0;
compute avg magnitude squared.
Definition: probe_avg_mag_sqrd_f.h:33
std::shared_ptr< probe_avg_mag_sqrd_f > sptr
Definition: probe_avg_mag_sqrd_f.h:36
virtual void set_alpha(double alpha)=0
virtual double level() const =0
virtual void set_threshold(double decibels)=0
virtual double threshold() const =0
virtual bool unmuted() const =0
static sptr make(double threshold_db, double alpha=0.0001)
Make a float sink that computes avg magnitude squared.
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define ANALOG_API
Definition: gr-analog/include/gnuradio/analog/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29