 |
GNU Radio Manual and C++ API Reference
3.8.2.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
23 #ifndef INCLUDED_GR_PEAK_DETECTOR2_FB_H
24 #define INCLUDED_GR_PEAK_DETECTOR2_FB_H
45 typedef boost::shared_ptr<peak_detector2_fb>
sptr;
67 make(
float threshold_factor_rise = 7,
int look_ahead = 1000,
float alpha = 0.001);
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
static sptr make(float threshold_factor_rise=7, int look_ahead=1000, float alpha=0.001)
virtual float threshold_factor_rise()=0
Get the threshold factor value for the rise time.
virtual int look_ahead()=0
Get the look-ahead factor value.
synchronous 1:1 input to output with history
Definition: sync_block.h:38
virtual void set_alpha(float alpha)=0
Set the running average alpha.
boost::shared_ptr< peak_detector2_fb > sptr
Definition: peak_detector2_fb.h:45
Detect the peak of a signal.
Definition: peak_detector2_fb.h:42
virtual void set_look_ahead(int look)=0
Set the look-ahead factor.
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
virtual void set_threshold_factor_rise(float thr)=0
Set the threshold factor value for the rise time.
virtual float alpha()=0
Get the alpha value of the running average.