23 #ifndef INCLUDED_GR_PEAK_DETECTOR2_FB_H
24 #define INCLUDED_GR_PEAK_DETECTOR2_FB_H
54 static sptr make(
float threshold_factor_rise=7,
55 int look_ahead=1000,
float alpha=0.001);
60 virtual void set_threshold_factor_rise(
float thr) = 0;
65 virtual void set_look_ahead(
int look) = 0;
70 virtual void set_alpha(
int alpha) = 0;
75 virtual float threshold_factor_rise() = 0;
80 virtual int look_ahead() = 0;
85 virtual float alpha() = 0;
Detect the peak of a signalIf a peak is detected, this block outputs a 1, or it outputs 0's...
Definition: peak_detector2_fb.h:48
Definition: gr_sync_block.h:27
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
boost::shared_ptr< peak_detector2_fb > sptr
Definition: peak_detector2_fb.h:52
#define BLOCKS_API
Definition: gr-blocks/include/blocks/api.h:30