22#ifndef INCLUDED_CDMA_SWITCHED_PEAK_DETECTOR_FB_H
23#define INCLUDED_CDMA_SWITCHED_PEAK_DETECTOR_FB_H
26#include <gnuradio/sync_block.h>
39 typedef boost::shared_ptr<switched_peak_detector_fb>
sptr;
49 static sptr make(
float threshold_factor_rise = 0.25,
50 float threshold_factor_fall = 0.40,
#define CDMA_API
Definition: api.h:30
<+description of block+>
Definition: switched_peak_detector_fb.h:37
virtual void set_look_ahead(int look)=0
boost::shared_ptr< switched_peak_detector_fb > sptr
Definition: switched_peak_detector_fb.h:39
virtual void set_threshold_factor_fall(float thr)=0
virtual void set_threshold_factor_rise(float thr)=0
virtual void set_on(int on)=0
virtual int look_ahead()=0
virtual float threshold_factor_rise()=0
virtual float threshold_factor_fall()=0
static sptr make(float threshold_factor_rise=0.25, float threshold_factor_fall=0.40, int look_ahead=10, float alpha=0.001, int on=1)
Return a shared_ptr to a new instance of cdma::switched_peak_detector_fb.
virtual void set_alpha(float alpha)=0
Definition: amp_var_est.h:30