GNU Radio 3.7.1 C++ API
gr::filter::freq_xlating_fir_filter_ccc Class Reference

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>

Inheritance diagram for gr::filter::freq_xlating_fir_filter_ccc:

List of all members.

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_complextaps () 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.

Detailed Description

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 low-pass) 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.


Member Typedef Documentation


Member Function Documentation

virtual double gr::filter::freq_xlating_fir_filter_ccc::center_freq ( ) const [pure virtual]
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.

Parameters:
decimationset the integer decimation rate
tapsa vector/list of taps of type gr_complex
center_freqCenter frequency of signal to down convert from (Hz)
sampling_freqSampling rate of signal (in Hz)
virtual void gr::filter::freq_xlating_fir_filter_ccc::set_center_freq ( double  center_freq) [pure virtual]
virtual void gr::filter::freq_xlating_fir_filter_ccc::set_taps ( const std::vector< gr_complex > &  taps) [pure virtual]
virtual std::vector<gr_complex> gr::filter::freq_xlating_fir_filter_ccc::taps ( ) const [pure virtual]

The documentation for this class was generated from the following file: