 |
GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
11 #ifndef PEAK_DETECTOR_H
12 #define PEAK_DETECTOR_H
33 typedef std::shared_ptr<peak_detector<T>>
sptr;
56 static sptr make(
float threshold_factor_rise = 0.25,
57 float threshold_factor_fall = 0.40,
64 virtual void set_threshold_factor_rise(
float thr) = 0;
69 virtual void set_threshold_factor_fall(
float thr) = 0;
74 virtual void set_look_ahead(
int look) = 0;
79 virtual void set_alpha(
float alpha) = 0;
84 virtual float threshold_factor_rise() = 0;
89 virtual float threshold_factor_fall() = 0;
94 virtual int look_ahead() = 0;
99 virtual float alpha() = 0;
peak_detector< std::int32_t > peak_detector_ib
Definition: peak_detector.h:103
Detect the peak of a signal.
Definition: peak_detector.h:30
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
synchronous 1:1 input to output with history
Definition: sync_block.h:25
peak_detector< float > peak_detector_fb
Definition: peak_detector.h:102
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29
std::shared_ptr< peak_detector< T > > sptr
Definition: peak_detector.h:33
peak_detector< std::int16_t > peak_detector_sb
Definition: peak_detector.h:104