GNU Radio 3.3.0 C++ API
gri_fft_filter_fff_generic Class Reference

#include <gri_fft_filter_fff_generic.h>

List of all members.

Public Member Functions

 gri_fft_filter_fff_generic (int decimation, const std::vector< float > &taps)
 Construct a FFT filter for float vectors with the given taps and decimation rate.
 ~gri_fft_filter_fff_generic ()
int set_taps (const std::vector< float > &taps)
 Set new taps for the filter.
int filter (int nitems, const float *input, float *output)
 Perform the filter operation.

Constructor & Destructor Documentation

gri_fft_filter_fff_generic::gri_fft_filter_fff_generic ( int  decimation,
const std::vector< float > &  taps 
)

Construct a FFT filter for float vectors with the given taps and decimation rate.

This is the basic implementation for performing FFT filter for fast convolution in other blocks for floating point vectors (such as gr_fft_filter_fff).

Parameters:
decimationThe decimation rate of the filter (int)
tapsThe filter taps (float)
gri_fft_filter_fff_generic::~gri_fft_filter_fff_generic ( )

Member Function Documentation

int gri_fft_filter_fff_generic::filter ( int  nitems,
const float *  input,
float *  output 
)

Perform the filter operation.

Parameters:
nitemsThe number of items to produce
inputThe input vector to be filtered
outputThe result of the filter operation
int gri_fft_filter_fff_generic::set_taps ( const std::vector< float > &  taps)

Set new taps for the filter.

Sets new taps and resets the class properties to handle different sizes

Parameters:
tapsThe filter taps (float)

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