 |
GNU Radio Manual and C++ API Reference
3.8.2.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
23 #ifndef INCLUDED_FILTER_FFT_FILTER_H
24 #define INCLUDED_FILTER_FFT_FILTER_H
77 std::vector<float> d_tail;
78 std::vector<float> d_taps;
81 void compute_sizes(
int ntaps);
82 int tailsize()
const {
return d_ntaps - 1; }
116 std::vector<float>
taps()
const;
135 int filter(
int nitems,
const float* input,
float* output);
181 std::vector<gr_complex> d_tail;
182 std::vector<gr_complex> d_taps;
185 void compute_sizes(
int ntaps);
186 int tailsize()
const {
return d_ntaps - 1; }
220 std::vector<gr_complex>
taps()
const;
285 std::vector<gr_complex> d_tail;
286 std::vector<float> d_taps;
289 void compute_sizes(
int ntaps);
290 int tailsize()
const {
return d_ntaps - 1; }
324 std::vector<float>
taps()
const;
Fast FFT filter with gr_complex input, gr_complex output and gr_complex taps.
Definition: fft_filter.h:172
int filter(int nitems, const gr_complex *input, gr_complex *output)
Perform the filter operation.
#define FILTER_API
Definition: gr-filter/include/gnuradio/filter/api.h:30
int nthreads() const
Get number of threads being used.
fft_filter_ccf(int decimation, const std::vector< float > &taps, int nthreads=1)
Construct an FFT filter for complex vectors with the given taps and decimation rate.
int set_taps(const std::vector< float > &taps)
Set new taps for the filter.
fft_filter_ccc(int decimation, const std::vector< gr_complex > &taps, int nthreads=1)
Construct an FFT filter for complex vectors with the given taps and decimation rate.
unsigned int ntaps() const
Returns the number of taps in the filter.
int nthreads() const
Get number of threads being used.
FFT: complex in, complex out.
Definition: fft.h:73
void set_nthreads(int n)
Set number of threads to use.
std::vector< gr_complex > taps() const
Returns the taps.
int set_taps(const std::vector< float > &taps)
Set new taps for the filter.
unsigned int filtersize() const
Returns the actual size of the filter.
void set_nthreads(int n)
Set number of threads to use.
int nthreads() const
Get number of threads being used.
static const float taps[NSTEPS+1][NTAPS]
Definition: interpolator_taps.h:9
Fast FFT filter with float input, float output and float taps.
Definition: fft_filter.h:68
void set_nthreads(int n)
Set number of threads to use.
FFT: complex in, float out.
Definition: fft.h:161
std::complex< float > gr_complex
Definition: gr_complex.h:27
FFT: real in, complex out.
Definition: fft.h:117
std::vector< float > taps() const
Returns the taps.
unsigned int ntaps() const
Returns the number of taps in the filter.
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.
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
Fast FFT filter with gr_complex input, gr_complex output and float taps.
Definition: fft_filter.h:276
int set_taps(const std::vector< gr_complex > &taps)
Set new taps for the filter.
unsigned int ntaps() const
Returns the number of taps in the filter.
int filter(int nitems, const gr_complex *input, gr_complex *output)
Perform the filter operation.
std::vector< float > taps() const
Returns the taps.
int filter(int nitems, const float *input, float *output)
Perform the filter operation.