Go to the documentation of this file.
22 #ifndef INCLUDED_DAB_PEAK_DETECTOR_FB_H
23 #define INCLUDED_DAB_PEAK_DETECTOR_FB_H
26 #include <gnuradio/sync_block.h>
42 typedef boost::shared_ptr<peak_detector_fb>
sptr;
65 static sptr make(
float threshold_factor_rise = 0.25,
66 float threshold_factor_fall = 0.40,
virtual int look_ahead()=0
Get the look-ahead factor value.
static sptr make(float threshold_factor_rise=0.25, float threshold_factor_fall=0.40, int look_ahead=10, float alpha=0.001)
virtual void set_look_ahead(int look)=0
Set the look-ahead factor.
Detect the peak of a signal.
Definition: peak_detector_fb.h:40
virtual void set_threshold_factor_rise(float thr)=0
Set the threshold factor value for the rise time.
#define DAB_API
Definition: api.h:31
virtual void set_threshold_factor_fall(float thr)=0
Set the threshold factor value for the fall time.
boost::shared_ptr< peak_detector_fb > sptr
Definition: peak_detector_fb.h:42
Definition: complex_to_interleaved_float_vcf.h:28
virtual void set_alpha(float alpha)=0
Set the running average alpha.
virtual float alpha()=0
Get the alpha value of the running average.
virtual float threshold_factor_fall()=0
Get the threshold factor value for the fall time.
virtual float threshold_factor_rise()=0
Get the threshold factor value for the rise time.