28 #ifndef SCIMATH_FFTSERVER_H
29 #define SCIMATH_FFTSERVER_H
41 template <
class T>
class Array;
42 template <
class S>
class Matrix;
365 const uInt& whichAxis,
376 const uInt& whichAxis,
A Vector of integers, for indexing into Array<T> objects.
void resize(const IPosition &fftSize, const FFTEnums::TransformType transformType=FFTEnums::REALTOCOMPLEX)
Modify the FFTServer object to do transforms of the supplied shape.
Inverse Complex to Complex transforms.
FFTW itsFFTW
FFTW specific members.
void flip(Array< T > &rData, const Bool toZero, const Bool isHermitian)
void fft0(Array< S > &cResult, Array< T > &rData, const Bool constInput=False)
The fft0 functions are equivalent to the fft functions described above except that the origin of the ...
IPosition itsSize
The size of the last FFT done by this object.
Real to Real transforms with symmetric Arrays (not used)
void fft(Array< S > &cResult, Array< T > &rData, const Bool constInput=False)
Real to complex fft.
C++ interface to the FFTWw library.
FFTServer< T, S > & operator=(const FFTServer< T, S > &other)
The assignment operator which does the same thing as the copy constructor.
std::vector< S > itsWorkOut
A class with methods for Fast Fourier Transforms.
bool Bool
Define the standard types used by Casacore.
Real to Complex or Complex to Real transforms.
A drop-in replacement for Block<T*>.
template <class T, class U> class vector;
std::vector< T > itsWorkIn
Real to Complex or Complex to Real transforms.
FFTServer()
The default constructor.
PtrBlock< Block< T > * > itsWork
FFTEnums::TransformType itsTransformType
Whether the last FFT was complex<->complex or not.
std::vector< S > itsWorkC2C
Block< S > itsBuffer
buffer for copying non-contigious arrays to contigious ones.
Forward Complex to Complex transforms.
void fftshift(Array< S > &cValues, const uInt &whichAxis, const Double &relshift, const Bool toFrequency=True)
N-D in-place complex->complex FFT shift (FFT - phase-mult - inverse FFT) If toFrequency is true...
IPosition determineShape(const IPosition &rShape, const Array< S > &cData)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.