![]() |
NDEVR
API Documentation
|
Provides Fast Fourier Transform logic for converting signals between the time and frequency domains. More...
Static Public Member Functions | |
| static void | FT (Buffer< std::complex< t_type > > &in_out) |
| Computes the forward Fourier Transform on a buffer of complex values in place. | |
| static void | IFT (Buffer< std::complex< t_type > > &in_out) |
| Computes the inverse Fourier Transform on a buffer of complex values in place. | |
Static Protected Member Functions | |
| static void | dft (const std::complex< t_type > f[], std::complex< t_type > ftilde[], uint04 N, uint04 step) |
| Computes the basic Discrete Fourier Transform for arbitrary-length input. | |
| static void | fft (Buffer< std::complex< t_type > > &in_out, Buffer< std::complex< t_type > > &temp, uint04 offset, uint04 size) |
| Computes the in-place Fast Fourier Transform using the Cooley-Tukey algorithm. | |
| static void | iFFT (const std::complex< t_type > ftilde[], std::complex< t_type > f[], uint04 N) |
| Computes the inverse FFT from a frequency-domain array into a time-domain array. | |
| static void | ifft (Buffer< std::complex< t_type > > &in_out, Buffer< std::complex< t_type > > &temp, uint04 offset, uint04 size) |
| Computes the inverse FFT by conjugating, applying the forward FFT, then conjugating and scaling the result. | |
Provides Fast Fourier Transform logic for converting signals between the time and frequency domains.
|
inlinestaticprotected |
Computes the basic Discrete Fourier Transform for arbitrary-length input.
| [in] | f | The input array of complex frequency-domain or time-domain samples. |
| [in] | ftilde | The output array to receive the transformed complex values. |
| [in] | N | The number of elements to transform. |
| [in] | step | The stride between consecutive elements in the input array. |
Definition at line 70 of file FFT.h.
References PI().
Referenced by fft().
|
inlinestaticprotected |
Computes the in-place Fast Fourier Transform using the Cooley-Tukey algorithm.
Falls back to DFT for non-power-of-two sizes.
| [in] | in_out | The buffer of complex values to transform in place. |
| [in] | temp | A temporary working buffer of the same size used during computation. |
| [in] | offset | The starting index within the buffers for this sub-transform. |
| [in] | size | The number of elements to transform starting from offset. |
Definition at line 26 of file FFT.h.
|
inlinestaticprotected |
Computes the inverse FFT from a frequency-domain array into a time-domain array.
| [in] | ftilde | The input array of frequency-domain complex values. |
| [in] | f | The output array to receive the inverse-transformed time-domain values. |
| [in] | N | The number of elements to transform. |
Definition at line 121 of file FFT.h.
References fft().
|
inlinestaticprotected |
Computes the inverse FFT by conjugating, applying the forward FFT, then conjugating and scaling the result.
| [in] | in_out | The buffer of complex values to inverse-transform in place. |
| [in] | temp | A temporary working buffer of the same size used during computation. |
| [in] | offset | The starting index within the buffers for this sub-transform. |
| [in] | size | The number of elements to transform starting from offset. |
Definition at line 95 of file FFT.h.
References fft().
Referenced by IFT().