Go to the documentation of this file.
28 #ifndef SCIMATH_FFTSERVER_H
29 #define SCIMATH_FFTSERVER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/scimath/Mathematics/FFTW.h>
34 #include <casacore/casa/Arrays/IPosition.h>
35 #include <casacore/casa/Containers/Block.h>
41 template <
class T>
class Array;
42 template <
class S>
class Matrix;
365 const uInt& whichAxis,
376 const uInt& whichAxis,
FFTServer()
The default constructor.
FFTServer< T, S > & operator=(const FFTServer< T, S > &other)
The assignment operator which does the same thing as the copy constructor.
A Vector of integers, for indexing into Array<T> objects.
void fft(Array< S > &cResult, Array< T > &rData, const Bool constInput=False)
Real to complex fft.
void resize(const IPosition &fftSize, const FFTEnums::TransformType transformType=FFTEnums::REALTOCOMPLEX)
Modify the FFTServer object to do transforms of the supplied shape.
Real to Complex or Complex to Real transforms.
A drop-in replacement for Block<T*>.
std::vector< T > itsWorkIn
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)
std::vector< S > itsWorkC2C
Real to Real transforms with symmetric Arrays (not used)
IPosition itsSize
The size of the last FFT done by this object.
C++ interface to the FFTWw library.
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 ...
Forward Complex to Complex transforms.
void flip(Array< T > &rData, const Bool toZero, const Bool isHermitian)
this file contains all the compiler specific defines
Inverse Complex to Complex transforms.
PtrBlock< Block< T > * > itsWork
A class with methods for Fast Fourier Transforms.
template <class T, class U> class vector;
std::vector< S > itsWorkOut
Real to Complex or Complex to Real transforms.
Lists the different types of FFT's that can be done.
bool Bool
Define the standard types used by Casacore.
FFTEnums::TransformType itsTransformType
Whether the last FFT was complex<->complex or not.
Block< S > itsBuffer
buffer for copying non-contigious arrays to contigious ones.
FFTW itsFFTW
FFTW specific members.