|
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. | |
| void | set_threshold_factor_fall (float thr) |
| Set the threshold factor value for the fall time. | |
| void | set_look_ahead (int look) |
| Set the look-ahead factor. | |
| void | set_alpha (float alpha) |
| Set the running average alpha. | |
| float | threshold_factor_rise () |
| Get the threshold factor value for the rise time. | |
| float | threshold_factor_fall () |
| Get the threshold factor value for the fall time. | |
| int | look_ahead () |
| Get the look-ahead factor value. | |
| float | alpha () |
| Get the alpha value of the running average. | |
| 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 std::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 ) |
References alpha(), look_ahead(), threshold_factor_fall(), and threshold_factor_rise().
| 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 peak_detector_fb_impl(), and set_alpha().
|
inlinevirtual |
Get the look-ahead factor value.
Implements gr::dab::peak_detector_fb.
Referenced by peak_detector_fb_impl().
|
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.
Referenced by peak_detector_fb_impl().
|
inlinevirtual |
Get the threshold factor value for the rise time.
Implements gr::dab::peak_detector_fb.
Referenced by peak_detector_fb_impl().
| int gr::dab::peak_detector_fb_impl::work | ( | int | noutput_items, |
| gr_vector_const_void_star & | input_items, | ||
| gr_vector_void_star & | output_items ) |