|
GNU Radio's DAB Package
|
#include <peak_detector_fb_impl.h>
Public Member Functions | |
| peak_detector_fb_impl (float threshold_factor_rise, float threshold_factor_fall, int look_ahead, float alpha) | |
| ~peak_detector_fb_impl () | |
| void | set_threshold_factor_rise (float thr) |
| Set the threshold factor value for the rise time. More... | |
| void | set_threshold_factor_fall (float thr) |
| Set the threshold factor value for the fall time. More... | |
| void | set_look_ahead (int look) |
| Set the look-ahead factor. More... | |
| void | set_alpha (float alpha) |
| Set the running average alpha. More... | |
| float | threshold_factor_rise () |
| Get the threshold factor value for the rise time. More... | |
| float | threshold_factor_fall () |
| Get the threshold factor value for the fall time. More... | |
| int | look_ahead () |
| Get the look-ahead factor value. More... | |
| float | alpha () |
| Get the alpha value of the running average. More... | |
| int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
Additional Inherited Members | |
Public Types inherited from gr::dab::peak_detector_fb | |
| typedef boost::shared_ptr< peak_detector_fb > | sptr |
Static Public Member Functions inherited from gr::dab::peak_detector_fb | |
| static sptr | make (float threshold_factor_rise=0.25, float threshold_factor_fall=0.40, int look_ahead=10, float alpha=0.001) |
| gr::dab::peak_detector_fb_impl::peak_detector_fb_impl | ( | float | threshold_factor_rise, |
| float | threshold_factor_fall, | ||
| int | look_ahead, | ||
| float | alpha | ||
| ) |
| gr::dab::peak_detector_fb_impl::~peak_detector_fb_impl | ( | ) |
|
inlinevirtual |
Get the alpha value of the running average.
Implements gr::dab::peak_detector_fb.
Referenced by set_alpha().
|
inlinevirtual |
|
inlinevirtual |
Set the running average alpha.
| alpha | new alpha for running average |
Implements gr::dab::peak_detector_fb.
References alpha().
|
inlinevirtual |
Set the look-ahead factor.
| look | new look-ahead factor |
Implements gr::dab::peak_detector_fb.
|
inlinevirtual |
Set the threshold factor value for the fall time.
| thr | new threshold factor |
Implements gr::dab::peak_detector_fb.
|
inlinevirtual |
Set the threshold factor value for the rise time.
| thr | new threshold factor |
Implements gr::dab::peak_detector_fb.
|
inlinevirtual |
Get the threshold factor value for the fall time.
Implements gr::dab::peak_detector_fb.
|
inlinevirtual |
Get the threshold factor value for the rise time.
Implements gr::dab::peak_detector_fb.
| int gr::dab::peak_detector_fb_impl::work | ( | int | noutput_items, |
| gr_vector_const_void_star & | input_items, | ||
| gr_vector_void_star & | output_items | ||
| ) |