24 #ifndef INCLUDED_DAB_PEAK_DETECTOR_FB_IMPL_H 25 #define INCLUDED_DAB_PEAK_DETECTOR_FB_IMPL_H 35 float d_threshold_factor_rise;
36 float d_threshold_factor_fall;
40 unsigned char d_found;
53 float alpha() {
return d_avg_alpha; }
56 int work(
int noutput_items,
57 gr_vector_const_void_star &input_items,
58 gr_vector_void_star &output_items);
float threshold_factor_fall()
Get the threshold factor value for the fall time.
Definition: peak_detector_fb_impl.h:51
int look_ahead()
Get the look-ahead factor value.
Definition: peak_detector_fb_impl.h:52
void set_look_ahead(int look)
Set the look-ahead factor.
Definition: peak_detector_fb_impl.h:48
Definition: peak_detector_fb_impl.h:32
float threshold_factor_rise()
Get the threshold factor value for the rise time.
Definition: peak_detector_fb_impl.h:50
peak_detector_fb_impl(float threshold_factor_rise, float threshold_factor_fall, int look_ahead, float alpha)
Definition: complex_to_interleaved_float_vcf.h:28
void set_threshold_factor_rise(float thr)
Set the threshold factor value for the rise time.
Definition: peak_detector_fb_impl.h:46
void set_threshold_factor_fall(float thr)
Set the threshold factor value for the fall time.
Definition: peak_detector_fb_impl.h:47
Detect the peak of a signal.
Definition: peak_detector_fb.h:39
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
void set_alpha(float alpha)
Set the running average alpha.
Definition: peak_detector_fb_impl.h:49
float alpha()
Get the alpha value of the running average.
Definition: peak_detector_fb_impl.h:53