GNU Radio 3.6.5 C++ API

Interpolating FIR filter with float input, gr_complex output and gr_complex taps. More...
#include <interp_fir_filter_fcc.h>
Public Types  
typedef boost::shared_ptr < interp_fir_filter_fcc >  sptr 
Public Member Functions  
virtual void  set_taps (const std::vector< gr_complex > &taps)=0 
virtual std::vector< gr_complex >  taps () const =0 
Static Public Member Functions  
static sptr  make (unsigned interpolation, const std::vector< gr_complex > &taps) 
Interpolating FIR filter with float input, gr_complex output, and gr_complex taps. 
Interpolating FIR filter with float input, gr_complex output and gr_complex taps.
The fir_filter_XXX blocks create finite impulse response (FIR) filters that perform the convolution in the time domain:
out = 0 for i in ntaps: out += input[ni] * taps[i]
The taps are a C++ vector (or Python list) of values of the type specified by the third letter in the block's suffix. For this block, the value is of type gr_complex. Taps can be created using the firdes or optfir tools.
These versions of the filter can also act as upsamplers (or interpolators) by specifying an integer value for interpolation
.
static sptr gr::filter::interp_fir_filter_fcc::make  (  unsigned  interpolation, 
const std::vector< gr_complex > &  taps  
)  [static] 
Interpolating FIR filter with float input, gr_complex output, and gr_complex taps.
interpolation  set the integer interpolation rate 
taps  a vector/list of taps of type gr_complex 
virtual void gr::filter::interp_fir_filter_fcc::set_taps  (  const std::vector< gr_complex > &  taps  )  [pure virtual] 
Implemented in gr::filter::interp_fir_filter_fcc_impl.
virtual std::vector<gr_complex> gr::filter::interp_fir_filter_fcc::taps  (  )  const [pure virtual] 
Implemented in gr::filter::interp_fir_filter_fcc_impl.