GNU Radio 3.5.1 C++ API
gr_pfb_channelizer_ccf.h File Reference
#include <gr_core_api.h>
#include <gr_block.h>
Include dependency graph for gr_pfb_channelizer_ccf.h:

Go to the source code of this file.

Classes

class  gr_pfb_channelizer_ccf
 Polyphase filterbank channelizer with gr_complex input, gr_complex output and float taps. More...

Functions

GR_CORE_API
gr_pfb_channelizer_ccf_sptr 
gr_make_pfb_channelizer_ccf (unsigned int numchans, const std::vector< float > &taps, float oversample_rate=1)

Function Documentation

GR_CORE_API gr_pfb_channelizer_ccf_sptr gr_make_pfb_channelizer_ccf ( unsigned int  numchans,
const std::vector< float > &  taps,
float  oversample_rate = 1 
)

Build the polyphase filterbank decimator.

Parameters:
numchans(unsigned integer) Specifies the number of channels M
taps(vector/list of floats) The prototype filter to populate the filterbank.
oversample_rate(float) The over sampling rate is the ratio of the the actual output sampling rate to the normal output sampling rate. It must be rationally related to the number of channels as N/i for i in [1,N], which gives an outputsample rate of [fs/N, fs] where fs is the input sample rate and N is the number of channels.

For example, for 6 channels with fs = 6000 Hz, the normal rate is 6000/6 = 1000 Hz. Allowable oversampling rates are 6/6, 6/5, 6/4, 6/3, 6/2, and 6/1 where the output sample rate of a 6/1 oversample ratio is 6000 Hz, or 6 times the normal 1000 Hz.