23 #ifndef PEAK_DETECTOR_H 24 #define PEAK_DETECTOR_H 45 typedef boost::shared_ptr<peak_detector<T>>
sptr;
68 static sptr make(
float threshold_factor_rise = 0.25,
69 float threshold_factor_fall = 0.40,
76 virtual void set_threshold_factor_rise(
float thr) = 0;
81 virtual void set_threshold_factor_fall(
float thr) = 0;
86 virtual void set_look_ahead(
int look) = 0;
91 virtual void set_alpha(
float alpha) = 0;
96 virtual float threshold_factor_rise() = 0;
101 virtual float threshold_factor_fall() = 0;
106 virtual int look_ahead() = 0;
111 virtual float alpha() = 0;
peak_detector< std::int16_t > peak_detector_sb
Definition: peak_detector.h:116
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
#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.h:42
peak_detector< float > peak_detector_fb
Definition: peak_detector.h:114
peak_detector< std::int32_t > peak_detector_ib
Definition: peak_detector.h:115
boost::shared_ptr< peak_detector< T > > sptr
Definition: peak_detector.h:45