11#ifndef RATIONAL_RESAMPLER_H
12#define RATIONAL_RESAMPLER_H
57template <
class IN_T,
class OUT_T,
class TAP_T>
61 typedef std::shared_ptr<rational_resampler<IN_T, OUT_T, TAP_T>>
sptr;
73 const std::vector<TAP_T>&
taps = std::vector<TAP_T>(),
74 float fractional_bw = 0.0);
80 virtual std::vector<TAP_T>
taps()
const = 0;
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Rational Resampling Polyphase FIR filter with IN_T input, OUT_T output and TAP_T taps.
Definition: rational_resampler.h:59
std::shared_ptr< rational_resampler< IN_T, OUT_T, TAP_T > > sptr
Definition: rational_resampler.h:61
virtual void set_taps(const std::vector< TAP_T > &taps)=0
virtual std::vector< TAP_T > taps() const =0
virtual unsigned interpolation() const =0
virtual unsigned decimation() const =0
static sptr make(unsigned interpolation, unsigned decimation, const std::vector< TAP_T > &taps=std::vector< TAP_T >(), float fractional_bw=0.0)
#define FILTER_API
Definition: gr-filter/include/gnuradio/filter/api.h:18
static constexpr float taps[NSTEPS+1][NTAPS]
Definition: interpolator_taps.h:9
rational_resampler< gr_complex, gr_complex, gr_complex > rational_resampler_ccc
Definition: rational_resampler.h:82
rational_resampler< float, gr_complex, gr_complex > rational_resampler_fcc
Definition: rational_resampler.h:84
rational_resampler< float, float, float > rational_resampler_fff
Definition: rational_resampler.h:85
rational_resampler< float, std::int16_t, float > rational_resampler_fsf
Definition: rational_resampler.h:86
rational_resampler< std::int16_t, gr_complex, gr_complex > rational_resampler_scc
Definition: rational_resampler.h:87
rational_resampler< gr_complex, gr_complex, float > rational_resampler_ccf
Definition: rational_resampler.h:83
GNU Radio logging wrapper.
Definition: basic_block.h:29