fftfilt_rrrf
Variants: fftfilt_cccf, fftfilt_crcf, fftfilt_rrrf
Fast Fourier transform (FFT) finite impulse response filter
Public Functions
fftfilt_rrrf | fftfilt_rrrf_create( |
fftfilt_rrrf | fftfilt_rrrf_copy( |
int | fftfilt_rrrf_destroy( |
int | fftfilt_rrrf_reset( |
int | fftfilt_rrrf_print( |
int | fftfilt_rrrf_set_scale( |
int | fftfilt_rrrf_get_scale( |
int | fftfilt_rrrf_execute( |
unsigned int | fftfilt_rrrf_get_length( |
Interfaces
fftfilt_rrrf fftfilt_rrrf_create(
Create FFT-based FIR filter using external coefficients
- _h : filter coefficients, shape: (_h_len, 1)
- _h_len : filter length, 0 < _h_len
- _n : block size = nfft/2, _h_len-1 <= _n
fftfilt_rrrf fftfilt_rrrf_copy(
Copy object including all internal objects and state
int fftfilt_rrrf_destroy(
Destroy filter object and free all internal memory
int fftfilt_rrrf_reset(
Reset filter object's internal buffer
int fftfilt_rrrf_print(
Print filter object information to stdout
int fftfilt_rrrf_set_scale(
Set output scaling for filter
- _q :
- _scale :
int fftfilt_rrrf_get_scale(
Get output scaling for filter
- _q :
- _scale :
int fftfilt_rrrf_execute(
Execute the filter on internal buffer and coefficients given a block of input samples; in-place operation is permitted (_x and _y may point to the same place in memory)
- _q : filter object
- _x : pointer to input data array, shape: (_n, 1)
- _y : pointer to output data array, shape: (_n, 1)
unsigned int fftfilt_rrrf_get_length(
Get length of filter object's internal coefficients