28 #ifndef SCIMATH_FFTSERVER_H
29 #define SCIMATH_FFTSERVER_H
361 const uInt& whichAxis,
372 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 templated N-D Array class with zero origin. Array<T, Alloc> is a templated, N-dimensional, Array class. The origin is zero, but by default indices are zero-based. This Array class is the base class for the Vector, Matrix, and Cube subclasses.
std::vector< T > itsWorkIn
Real to Complex or Complex to Real transforms.
FFTServer()
The default constructor.
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)