GNU Radio 3.6.5 C++ API

FIR filter combined with frequency translation with gr_complex input, gr_complex output and gr_complex taps. More...
#include <freq_xlating_fir_filter_ccc.h>
Public Types  
typedef boost::shared_ptr < freq_xlating_fir_filter_ccc >  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< gr_complex > &taps)=0 
virtual std::vector< gr_complex >  taps () const =0 
Static Public Member Functions  
static sptr  make (int decimation, const std::vector< gr_complex > &taps, double center_freq, double sampling_freq) 
FIR filter with gr_complex input, gr_complex output, and gr_complex taps that also frequency translates a signal from center_freq . 
FIR filter combined with frequency translation with gr_complex input, gr_complex output and gr_complex 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_ccc> gr::filter::freq_xlating_fir_filter_ccc::sptr 
virtual double gr::filter::freq_xlating_fir_filter_ccc::center_freq  (  )  const [pure virtual] 
Implemented in gr::filter::freq_xlating_fir_filter_ccc_impl.
static sptr gr::filter::freq_xlating_fir_filter_ccc::make  (  int  decimation, 
const std::vector< gr_complex > &  taps,  
double  center_freq,  
double  sampling_freq  
)  [static] 
FIR filter with gr_complex input, gr_complex output, and gr_complex 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 gr_complex 
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_ccc::set_center_freq  (  double  center_freq  )  [pure virtual] 
Implemented in gr::filter::freq_xlating_fir_filter_ccc_impl.
virtual void gr::filter::freq_xlating_fir_filter_ccc::set_taps  (  const std::vector< gr_complex > &  taps  )  [pure virtual] 
Implemented in gr::filter::freq_xlating_fir_filter_ccc_impl.
virtual std::vector<gr_complex> gr::filter::freq_xlating_fir_filter_ccc::taps  (  )  const [pure virtual] 
Implemented in gr::filter::freq_xlating_fir_filter_ccc_impl.