22#ifndef INCLUDED_ANALOG_PROBE_AVG_MAG_SQRD_C_H
23#define INCLUDED_ANALOG_PROBE_AVG_MAG_SQRD_C_H
47 typedef boost::shared_ptr<probe_avg_mag_sqrd_c>
sptr;
55 static sptr make(
double threshold_db,
double alpha = 0.0001);
58 virtual double level()
const = 0;
compute avg magnitude squared.
Definition: probe_avg_mag_sqrd_c.h:44
virtual void set_threshold(double decibels)=0
virtual void set_alpha(double alpha)=0
virtual double level() const =0
virtual double threshold() const =0
boost::shared_ptr< probe_avg_mag_sqrd_c > sptr
Definition: probe_avg_mag_sqrd_c.h:47
static sptr make(double threshold_db, double alpha=0.0001)
Make a complex sink that computes avg magnitude squared.
virtual bool unmuted() const =0
synchronous 1:1 input to output with history
Definition: sync_block.h:38
#define ANALOG_API
Definition: gr-analog/include/gnuradio/analog/api.h:30
Include this header to use the message passing features.
Definition: basic_block.h:45