12 #ifndef INCLUDED_DIGITAL_PFB_CLOCK_SYNC_CCF_H
13 #define INCLUDED_DIGITAL_PFB_CLOCK_SYNC_CCF_H
148 typedef std::shared_ptr<pfb_clock_sync_ccf>
sptr;
163 const std::vector<float>&
taps,
164 unsigned int filter_size = 32,
165 float init_phase = 0,
166 float max_rate_deviation = 1.5,
186 virtual std::vector<std::vector<float>>
taps()
const = 0;
191 virtual std::vector<std::vector<float>>
diff_taps()
const = 0;
298 virtual float beta()
const = 0;
313 virtual float rate()
const = 0;
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Timing synchronizer using polyphase filterbanks.
Definition: pfb_clock_sync_ccf.h:145
static sptr make(double sps, float loop_bw, const std::vector< float > &taps, unsigned int filter_size=32, float init_phase=0, float max_rate_deviation=1.5, int osps=1)
virtual void set_damping_factor(float df)=0
Set the loop damping factor.
virtual float beta() const =0
Returns the loop gain beta.
virtual void update_taps(const std::vector< float > &taps)=0
virtual void set_loop_bandwidth(float bw)=0
Set the loop bandwidth.
virtual std::string diff_taps_as_string() const =0
virtual float loop_bandwidth() const =0
Returns the loop bandwidth.
virtual float phase() const =0
Returns the current phase arm of the control loop.
virtual std::vector< float > channel_taps(int channel) const =0
virtual std::string taps_as_string() const =0
virtual std::vector< float > diff_channel_taps(int channel) const =0
std::shared_ptr< pfb_clock_sync_ccf > sptr
Definition: pfb_clock_sync_ccf.h:148
virtual std::vector< std::vector< float > > taps() const =0
virtual float rate() const =0
Returns the current rate of the control loop.
virtual float damping_factor() const =0
Returns the loop damping factor.
virtual std::vector< std::vector< float > > diff_taps() const =0
virtual float clock_rate() const =0
Returns the current clock rate.
virtual void set_alpha(float alpha)=0
Set the loop gain alpha.
virtual void update_gains()=0
update the system gains from omega and eta
virtual void set_max_rate_deviation(float m)=0
virtual float alpha() const =0
Returns the loop gain alpha.
virtual float error() const =0
Returns the current error of the control loop.
virtual void set_beta(float beta)=0
Set the loop gain beta.
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:18
static constexpr float taps[NSTEPS+1][NTAPS]
Definition: interpolator_taps.h:9
GNU Radio logging wrapper.
Definition: basic_block.h:29