|
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 65 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 157 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 152 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 147 of file LatticeFFT.h.
References ThrowCc.
implement template specializations to throw exceptions in the relevant cases.
Definition at line 142 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 252 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 238 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 222 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 259 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 245 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 230 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 215 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 186 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 208 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 178 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 201 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 170 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 194 of file LatticeFFT.h.
References ThrowCc.
|
inline |
Definition at line 162 of file LatticeFFT.h.
References ThrowCc.