25 #ifndef INCLUDED_BLOCKS_PEAK_DETECTOR_IB_H
26 #define INCLUDED_BLOCKS_PEAK_DETECTOR_IB_H
46 typedef boost::shared_ptr<peak_detector_ib>
sptr;
69 static sptr make(
float threshold_factor_rise = 0.25,
70 float threshold_factor_fall = 0.40,
77 virtual void set_threshold_factor_rise(
float thr) = 0;
82 virtual void set_threshold_factor_fall(
float thr) = 0;
87 virtual void set_look_ahead(
int look) = 0;
92 virtual void set_alpha(
float alpha) = 0;
97 virtual float threshold_factor_rise() = 0;
102 virtual float threshold_factor_fall() = 0;
107 virtual int look_ahead() = 0;
112 virtual float alpha() = 0;
Include this header to use the message passing features.
Definition: logger.h:131
boost::shared_ptr< peak_detector_ib > sptr
Definition: peak_detector_ib.h:46
#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
Detect the peak of a signal.
Definition: peak_detector_ib.h:42