Wrapper to libfftw3. More...
|Initialize FFT engine. More...|
|FFTEngine (int nfft)|
|Initialize FFT engine and generate fftw plans. More...|
|void||FFT (float *data)|
|perform in-place FFT More...|
|void||IFFT (float *data)|
|perform in-place IFFT More...|
|pre-computed FFT plan More...|
|pre-computed IFFT plan More...|
|size of transform More...|
Wrapper to libfftw3.
FFT engine usually has to be initialized and here is a good place for it.
- 7 July 2015 - version 1.0 beta
- 7 July 2016 - version 2.0 beta
- 1 November 2016 - version 2.0
- Copyright (c) 2015 Jaroslaw Bulat, Michal Rzepka
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Constructor & Destructor Documentation
Member Function Documentation
perform in-place FFT
data - pointer to N-size FFT, result is stored in the same memory fftw3f linked - float precision data array size -> 2*fft_n data - first number's real part, data - first number's imaginary part, etc...
perform in-place IFFT
data - pointer to N-size IFFT, result is stored in the same memory n_fft_ - number of complex samples data array size -> 2 * ifft_n data - first number's real part, data - first number's imaginary part, etc...
< TODO: possible optimization (remove), IFFT is used only in initialization, not in realtime
Member Data Documentation
The documentation for this class was generated from the following files: