|
casacore
|
#include <LatticeFFT.h>
Public Member Functions | |
| template<> | |
| void | cfft2d (Lattice< Float > &, const Bool) |
| implement template specializations to throw exceptions in the relevant cases. | |
| template<> | |
| void | cfft2d (Lattice< Double > &, const Bool) |
| template<> | |
| void | cfft (Lattice< Float > &, const Vector< Bool > &, const Bool) |
| template<> | |
| void | cfft (Lattice< Double > &, const Vector< Bool > &, const Bool) |
| template<> | |
| void | rcfft (Lattice< Float > &, const Lattice< Complex > &, const Vector< Bool > &, const Bool, Bool) |
| template<> | |
| void | rcfft (Lattice< Double > &, const Lattice< DComplex > &, const Vector< Bool > &, const Bool, Bool) |
| template<> | |
| void | myrcfft (Lattice< Float > &, const Lattice< Complex > &, const Vector< Bool > &, const Bool) |
| template<> | |
| void | myrcfft (Lattice< Double > &, const Lattice< DComplex > &, const Vector< Bool > &, const Bool) |
| template<> | |
| void | rcfft (Lattice< Float > &, const Lattice< Complex > &, const Bool, Bool) |
| template<> | |
| void | rcfft (Lattice< Double > &, const Lattice< DComplex > &, const Bool, Bool) |
| template<> | |
| void | myrcfft (Lattice< Float > &, const Lattice< Complex > &, const Bool) |
| template<> | |
| void | myrcfft (Lattice< Double > &, const Lattice< DComplex > &, const Bool) |
| template<> | |
| void | crfft (Lattice< Complex > &, Lattice< Float > &, const Vector< Bool > &, const Bool, Bool) |
| template<> | |
| void | crfft (Lattice< DComplex > &, Lattice< Double > &, const Vector< Bool > &, const Bool, Bool) |
| template<> | |
| void | crfft (Lattice< Complex > &, Lattice< Float > &, const Bool, Bool) |
| template<> | |
| void | crfft (Lattice< DComplex > &, Lattice< Double > &, const Bool, Bool) |
| template<> | |
| void | crfft (Lattice< Complex > &, const Lattice< Float > &, const Bool, Bool) |
| template<> | |
| void | crfft (Lattice< DComplex > &, const Lattice< Double > &, const Bool, Bool) |
Static Public Member Functions | |
| template<class ComplexType> | |
| static void | cfft2d (Lattice< ComplexType > &cLattice, const Bool toFrequency=True) |
| 2-D in-place complex->complex FFT. | |
| template<class ComplexType> | |
| static void | cfft (Lattice< ComplexType > &cLattice, const Vector< Bool > &whichAxes, const Bool toFrequency=True) |
| N-D in-place complex->complex FFT. | |
| template<class ComplexType> | |
| static void | cfft0 (Lattice< ComplexType > &cLattice, const Vector< Bool > &whichAxes, const Bool toFrequency=True) |
| Non-folded version. | |
| template<class ComplexType> | |
| static void | cfft (Lattice< ComplexType > &cLattice, const Bool toFrequency=True) |
| N-D in-place complex->complex FFT. | |
| template<class ComplexType> | |
| static void | rcfft (Lattice< ComplexType > &out, const Lattice< typename NumericTraits< ComplexType >::ConjugateType > &in, const Vector< Bool > &whichAxes, const Bool doShift=True, Bool doFast=False) |
| N-D real->complex FFT. | |
| template<class ComplexType> | |
| static void | myrcfft (Lattice< ComplexType > &out, const Lattice< typename NumericTraits< ComplexType >::ConjugateType > &in, const Vector< Bool > &whichAxes, const Bool doShift=True) |
| template<class ComplexType> | |
| static void | rcfft (Lattice< ComplexType > &out, const Lattice< typename NumericTraits< ComplexType >::ConjugateType > &in, const Bool doShift=True, Bool doFast=False) |
| N-D real->complex FFT. | |
| template<class ComplexType> | |
| static void | myrcfft (Lattice< ComplexType > &out, const Lattice< typename NumericTraits< ComplexType >::ConjugateType > &in, const Bool doShift=True) |
| template<class ComplexType> | |
| static void | crfft (Lattice< typename NumericTraits< ComplexType >::ConjugateType > &out, Lattice< ComplexType > &in, const Vector< Bool > &whichAxes, const Bool doShift=True, Bool doFast=False) |
| N-D complex->real FFT. | |
| template<class ComplexType> | |
| static void | crfft (Lattice< typename NumericTraits< ComplexType >::ConjugateType > &out, Lattice< ComplexType > &in, const Bool doShift=True, Bool doFast=False) |
| template<class ComplexType> | |
| static void | crfft (Lattice< typename NumericTraits< ComplexType >::ConjugateType > &out, const Lattice< ComplexType > &in, const Bool doShift=True, Bool doFast=False) |
Functions for Fourier transforming Lattices
Definition at line 64 of file LatticeFFT.h.
|
static |
N-D in-place complex->complex FFT.
Only transform over selected dimensions. Iterate over the others. whichAxes must be the same length as the number of dimensions in the Lattice otherwise an AipsError is thrown.
References casacore::True.
|
inline |
Definition at line 171 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 163 of file LatticeFFT.h.
References ThrowCc.
|
static |
Non-folded version.
References casacore::True.
|
static |
2-D in-place complex->complex FFT.
Transforms over the first two dimensions and iterates over all the others. The Lattice must have two or more dimensions otherwise an AipsError is thrown.
References casacore::True.
Definition at line 157 of file LatticeFFT.h.
References ThrowCc.
implement template specializations to throw exceptions in the relevant cases.
Definition at line 151 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 293 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 275 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 255 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 302 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 284 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 265 of file LatticeFFT.h.
References ThrowCc.
|
static |
References casacore::False, and casacore::True.
|
static |
References casacore::False, and casacore::True.
|
static |
N-D complex->real FFT.
Only one half of the Hermition input is required. If whichAxis is specified Transforms are only done on selected dimensions otherwise they are done on all axes. The origin of the transform is the center of the Lattice ie., [nx/2,ny/2,...] if doShift is True, otherwise it is the first element ie., [0,0,...]
These functions will scramble the input Lattice unless the versions with const inputs are used. The const input versions are less efficient as they create a temporary Lattice and copy the input data into it.
References casacore::False, and casacore::True.
|
static |
References casacore::True.
|
static |
References casacore::True.
|
inline |
Definition at line 246 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 209 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 237 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 199 of file LatticeFFT.h.
References ThrowCc.
|
static |
N-D real->complex FFT.
Only one half of the Hermition result is returned. Transform over all dimensions. The origin of the transform is the center of the Lattice ie., [nx/2,ny/2,...] if doShift is True. Otherwise it is the first element ie., [0,0,...]
References casacore::False, and casacore::True.
|
static |
N-D real->complex FFT.
Only one half of the Hermition result is returned. Transforms are only done on selected dimensions. The origin of the transform is the center of the Lattice ie., [nx/2,ny/2,...] if doShift is True. Otherwise it is the first element ie., [0,0,...]
References casacore::False, and casacore::True.
|
inline |
Definition at line 228 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 189 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 219 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 179 of file LatticeFFT.h.
References ThrowCc.