GNU Radio 3.6.5 C++ API

FIR filter combined with frequency translation with gr_complex input, gr_complex output and float taps. More...
#include <freq_xlating_fir_filter_ccf.h>
Public Types  
typedef boost::shared_ptr < freq_xlating_fir_filter_ccf >  sptr 
Public Member Functions  
virtual void  set_center_freq (double center_freq)=0 
virtual double  center_freq () const =0 
virtual void  set_taps (const std::vector< float > &taps)=0 
virtual std::vector< float >  taps () const =0 
Static Public Member Functions  
static sptr  make (int decimation, const std::vector< float > &taps, double center_freq, double sampling_freq) 
FIR filter with gr_complex input, gr_complex output, and float taps that also frequency translates a signal from center_freq . 
FIR filter combined with frequency translation with gr_complex input, gr_complex output and float taps.
This class efficiently combines a frequency translation (typically "down conversion") with a FIR filter (typically lowpass) and decimation. It is ideally suited for a "channel selection filter" and can be efficiently used to select and decimate a narrow band signal out of wide bandwidth input.
Uses a single input array to produce a single output array. Additional inputs and/or outputs are ignored.
typedef boost::shared_ptr<freq_xlating_fir_filter_ccf> gr::filter::freq_xlating_fir_filter_ccf::sptr 
virtual double gr::filter::freq_xlating_fir_filter_ccf::center_freq  (  )  const [pure virtual] 
Implemented in gr::filter::freq_xlating_fir_filter_ccf_impl.
static sptr gr::filter::freq_xlating_fir_filter_ccf::make  (  int  decimation, 
const std::vector< float > &  taps,  
double  center_freq,  
double  sampling_freq  
)  [static] 
FIR filter with gr_complex input, gr_complex output, and float taps that also frequency translates a signal from center_freq
.
Construct a FIR filter with the given taps and a composite frequency translation that shifts center_freq down to zero Hz. The frequency translation logically comes before the filtering operation.
decimation  set the integer decimation rate 
taps  a vector/list of taps of type float 
center_freq  Center frequency of signal to down convert from (Hz) 
sampling_freq  Sampling rate of signal (in Hz) 
virtual void gr::filter::freq_xlating_fir_filter_ccf::set_center_freq  (  double  center_freq  )  [pure virtual] 
Implemented in gr::filter::freq_xlating_fir_filter_ccf_impl.
virtual void gr::filter::freq_xlating_fir_filter_ccf::set_taps  (  const std::vector< float > &  taps  )  [pure virtual] 
Implemented in gr::filter::freq_xlating_fir_filter_ccf_impl.
virtual std::vector<float> gr::filter::freq_xlating_fir_filter_ccf::taps  (  )  const [pure virtual] 
Implemented in gr::filter::freq_xlating_fir_filter_ccf_impl.