23 #ifndef RATIONAL_RESAMPLER_BASE_H 24 #define RATIONAL_RESAMPLER_BASE_H 69 template <
class IN_T,
class OUT_T,
class TAP_T>
73 typedef boost::shared_ptr<rational_resampler_base<IN_T, OUT_T, TAP_T>>
sptr;
83 make(
unsigned interpolation,
unsigned decimation,
const std::vector<TAP_T>&
taps);
85 virtual unsigned interpolation()
const = 0;
86 virtual unsigned decimation()
const = 0;
88 virtual void set_taps(
const std::vector<TAP_T>&
taps) = 0;
89 virtual std::vector<TAP_T>
taps()
const = 0;
rational_resampler_base< std::int16_t, gr_complex, gr_complex > rational_resampler_base_scc
Definition: rational_resampler_base.h:100
boost::shared_ptr< rational_resampler_base< IN_T, OUT_T, TAP_T > > sptr
Definition: rational_resampler_base.h:73
Rational Resampling Polyphase FIR filter with IN_T input, OUT_T output and TAP_T taps.Make a rational resampling FIR filter. If the input signal is at rate fs, then the output signal will be at a rate of interpolation * fs / decimation.
Definition: rational_resampler_base.h:70
rational_resampler_base< float, gr_complex, gr_complex > rational_resampler_base_fcc
Definition: rational_resampler_base.h:96
rational_resampler_base< float, float, float > rational_resampler_base_fff
Definition: rational_resampler_base.h:97
rational_resampler_base< gr_complex, gr_complex, float > rational_resampler_base_ccf
Definition: rational_resampler_base.h:94
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
rational_resampler_base< float, std::int16_t, float > rational_resampler_base_fsf
Definition: rational_resampler_base.h:98
static const float taps[NSTEPS+1][NTAPS]
Definition: interpolator_taps.h:9
#define FILTER_API
Definition: gr-filter/include/gnuradio/filter/api.h:30
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: block.h:71
rational_resampler_base< gr_complex, gr_complex, gr_complex > rational_resampler_base_ccc
Definition: rational_resampler_base.h:92