GNU Radio 3.7.1 C++ API
gr::filter::kernel::fft_filter_fff Class Reference

Fast FFT filter with float input, float output and float taps. More...

#include <fft_filter.h>

List of all members.

Public Member Functions

 fft_filter_fff (int decimation, const std::vector< float > &taps, int nthreads=1)
 Construct an FFT filter for float vectors with the given taps and decimation rate.
 ~fft_filter_fff ()
int set_taps (const std::vector< float > &taps)
 Set new taps for the filter.
void set_nthreads (int n)
 Set number of threads to use.
int nthreads () const
 Get number of threads being used.
int filter (int nitems, const float *input, float *output)
 Perform the filter operation.

Detailed Description

Fast FFT filter with float input, float output and float taps.


Constructor & Destructor Documentation

gr::filter::kernel::fft_filter_fff::fft_filter_fff ( int  decimation,
const std::vector< float > &  taps,
int  nthreads = 1 
)

Construct an 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 complex vectors (such as fft_filter_ccc).

Parameters:
decimationThe decimation rate of the filter (int)
tapsThe filter taps (complex)
nthreadsThe number of threads for the FFT to use (int)

Member Function Documentation

int gr::filter::kernel::fft_filter_fff::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

Get number of threads being used.

Set number of threads to use.

int gr::filter::kernel::fft_filter_fff::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 (complex)

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