STIR 6.4.0

Functions for computing FFTs. More...

Go to the source code of this file.

Namespaces

namespace  stir
 Namespace for the STIR library (and some/most of its applications)
 

Functions

template<typename T>
void stir::fourier (T &c, const int sign=1)
 Compute multi-dimensional discrete fourier transform.
 
template<typename T>
void stir::inverse_fourier (T &c, const int sign=1)
 Compute the inverse of the multi-dimensional discrete fourier transform.
 
template<typename T>
void stir::fourier_1d (T &c, const int sign)
 Compute one-dimensional discrete fourier transform of an array.
 
template<typename T>
void stir::inverse_fourier_1d (T &c, const int sign=1)
 Compute the inverse of the one-dimensional discrete fourier transform.
 
template<typename T>
Array< 1, std::complex< T > > stir::fourier_1d_for_real_data (const Array< 1, T > &c, const int sign=1)
 Compute one-dimensional discrete fourier transform of a real array (of even size).
 
template<typename T>
Array< 1, T > stir::inverse_fourier_1d_for_real_data (const Array< 1, std::complex< T > > &c, const int sign=1)
 Compute the inverse of the one-dimensional discrete fourier transform of a real array (of even size).
 
template<typename T>
Array< 1, T > stir::inverse_fourier_1d_for_real_data_corrupting_input (Array< 1, std::complex< T > > &c, const int sign)
 As inverse_fourier_1d_for_real_data(), but avoiding the copy of the input array.
 
template<int num_dimensions, typename T>
Array< num_dimensions, std::complex< T > > stir::fourier_for_real_data (const Array< num_dimensions, T > &c, const int sign=1)
 Compute discrete fourier transform of a real array (with the last dimensions of even size).
 
template<int num_dimensions, typename T>
Array< num_dimensions, T > stir::inverse_fourier_for_real_data (const Array< num_dimensions, std::complex< T > > &c, const int sign=1)
 Compute the inverse of the discrete fourier transform of a real array (with the last dimension of even size).
 
template<int num_dimensions, typename T>
Array< num_dimensions, T > stir::inverse_fourier_for_real_data_corrupting_input (Array< num_dimensions, std::complex< T > > &c, const int sign=1)
 As inverse_fourier_for_real_data(), but avoiding the copy of the input array.
 
template<int num_dimensions, typename T>
Array< num_dimensions, std::complex< T > > stir::pos_frequencies_to_all (const Array< num_dimensions, std::complex< T > > &c)
 Adds negative frequencies to the last dimension of a complex array by complex conjugation.
 

Detailed Description

Functions for computing FFTs.

Author
Kris Thielemans