24 #ifndef INCLUDED_DIGITAL_PFB_CLOCK_SYNC_CCF_H 25 #define INCLUDED_DIGITAL_PFB_CLOCK_SYNC_CCF_H 160 typedef boost::shared_ptr<pfb_clock_sync_ccf>
sptr;
173 static sptr make(
double sps,
175 const std::vector<float>&
taps,
176 unsigned int filter_size = 32,
177 float init_phase = 0,
178 float max_rate_deviation = 1.5,
188 virtual void update_gains() = 0;
193 virtual void update_taps(
const std::vector<float>&
taps) = 0;
203 set_taps(
const std::vector<float>&
taps,
204 std::vector<std::vector<float>>& ourtaps,
205 std::vector<gr::filter::kernel::fir_filter_ccf*>& ourfilter) = 0;
210 virtual std::vector<std::vector<float>>
taps()
const = 0;
215 virtual std::vector<std::vector<float>> diff_taps()
const = 0;
220 virtual std::vector<float> channel_taps(
int channel)
const = 0;
225 virtual std::vector<float> diff_channel_taps(
int channel)
const = 0;
230 virtual std::string taps_as_string()
const = 0;
235 virtual std::string diff_taps_as_string()
const = 0;
254 virtual void set_loop_bandwidth(
float bw) = 0;
269 virtual void set_damping_factor(
float df) = 0;
281 virtual void set_alpha(
float alpha) = 0;
293 virtual void set_beta(
float beta) = 0;
298 virtual void set_max_rate_deviation(
float m) = 0;
307 virtual float loop_bandwidth()
const = 0;
312 virtual float damping_factor()
const = 0;
317 virtual float alpha()
const = 0;
322 virtual float beta()
const = 0;
327 virtual float clock_rate()
const = 0;
332 virtual float error()
const = 0;
337 virtual float rate()
const = 0;
342 virtual float phase()
const = 0;
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:30
Timing synchronizer using polyphase filterbanks.
Definition: pfb_clock_sync_ccf.h:156
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
boost::shared_ptr< pfb_clock_sync_ccf > sptr
Definition: pfb_clock_sync_ccf.h:160
static const float taps[NSTEPS+1][NTAPS]
Definition: interpolator_taps.h:9
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: block.h:71