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;
66 static sptr make(
float threshold_factor_rise=7,
67 int look_ahead=1000,
float alpha=0.001);
72 virtual void set_threshold_factor_rise(
float thr) = 0;
77 virtual void set_look_ahead(
int look) = 0;
82 virtual void set_alpha(
float alpha) = 0;
87 virtual float threshold_factor_rise() = 0;
92 virtual int look_ahead() = 0;
97 virtual float alpha() = 0;
Detect the peak of a signal.
Definition: peak_detector2_fb.h:41
boost::shared_ptr< peak_detector2_fb > sptr
Definition: peak_detector2_fb.h:45
Include this header to use the message passing features.
Definition: logger.h:695
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37