STIR  6.2.0
Namespaces | Functions

Functions for computing FFTs. More...

#include "stir/VectorWithOffset.h"
#include "stir/Array_complex_numbers.h"

Go to the source code of this file.

Namespaces

 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. More...
 
template<typename T >
void stir::inverse_fourier (T &c, const int sign=1)
 Compute the inverse of the multi-dimensional discrete fourier transform. More...
 
template<typename T >
void stir::fourier_1d (T &c, const int sign)
 Compute one-dimensional discrete fourier transform of an array. More...
 
template<typename T >
void stir::inverse_fourier_1d (T &c, const int sign=1)
 Compute the inverse of the one-dimensional discrete fourier transform. More...
 
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). More...
 
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). More...
 
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. More...
 
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). More...
 
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). More...
 
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. More...
 
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. More...
 

Detailed Description

Functions for computing FFTs.

Author
Kris Thielemans