casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
casa::LatticeFFT Class Reference

Functions for Fourier transforming Lattices. More...

#include <LatticeFFT.h>

List of all members.

Static Public Member Functions

static void cfft2d (Lattice< DComplex > &cLattice, const Bool toFrequency=True)
 2-D in-place complex->complex FFT.
static void cfft2d (Lattice< Complex > &cLattice, const Bool toFrequency=True)
static void cfft (Lattice< DComplex > &cLattice, const Vector< Bool > &whichAxes, const Bool toFrequency=True)
 N-D in-place complex->complex FFT.
static void cfft (Lattice< Complex > &cLattice, const Vector< Bool > &whichAxes, const Bool toFrequency=True)
static void cfft (Lattice< DComplex > &cLattice, const Bool toFrequency=True)
 N-D in-place complex->complex FFT.
static void cfft (Lattice< Complex > &cLattice, const Bool toFrequency=True)
static void rcfft (Lattice< Complex > &out, const Lattice< Float > &in, const Vector< Bool > &whichAxes, const Bool doShift=True, Bool doFast=False)
 N-D real->complex FFT.
static void myrcfft (Lattice< Complex > &out, const Lattice< Float > &in, const Vector< Bool > &whichAxes, const Bool doShift=True)
static void rcfft (Lattice< Complex > &out, const Lattice< Float > &in, const Bool doShift=True, Bool doFast=False)
 N-D real->complex FFT.
static void myrcfft (Lattice< Complex > &out, const Lattice< Float > &in, const Bool doShift=True)
static void crfft (Lattice< Float > &out, Lattice< Complex > &in, const Vector< Bool > &whichAxes, const Bool doShift=True, Bool doFast=False)
 N-D complex->real FFT.
static void crfft (Lattice< Float > &out, Lattice< Complex > &in, const Bool doShift=True, Bool doFast=False)
static void crfft (Lattice< Float > &out, const Lattice< Complex > &in, const Bool doShift=True, Bool doFast=False)

Detailed Description

Functions for Fourier transforming Lattices.

Etymology

Synopsis

Example

Motivation

Definition at line 65 of file LatticeFFT.h.


Member Function Documentation

static void casa::LatticeFFT::cfft ( Lattice< DComplex > &  cLattice,
const Vector< Bool > &  whichAxes,
const Bool  toFrequency = True 
) [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.

static void casa::LatticeFFT::cfft ( Lattice< Complex > &  cLattice,
const Vector< Bool > &  whichAxes,
const Bool  toFrequency = True 
) [static]
static void casa::LatticeFFT::cfft ( Lattice< DComplex > &  cLattice,
const Bool  toFrequency = True 
) [static]

N-D in-place complex->complex FFT.

Transform over all axes.

static void casa::LatticeFFT::cfft ( Lattice< Complex > &  cLattice,
const Bool  toFrequency = True 
) [static]
static void casa::LatticeFFT::cfft2d ( Lattice< DComplex > &  cLattice,
const Bool  toFrequency = 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.

static void casa::LatticeFFT::cfft2d ( Lattice< Complex > &  cLattice,
const Bool  toFrequency = True 
) [static]
static void casa::LatticeFFT::crfft ( Lattice< Float > &  out,
Lattice< Complex > &  in,
const Vector< Bool > &  whichAxes,
const Bool  doShift = True,
Bool  doFast = False 
) [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.

static void casa::LatticeFFT::crfft ( Lattice< Float > &  out,
Lattice< Complex > &  in,
const Bool  doShift = True,
Bool  doFast = False 
) [static]
static void casa::LatticeFFT::crfft ( Lattice< Float > &  out,
const Lattice< Complex > &  in,
const Bool  doShift = True,
Bool  doFast = False 
) [static]
static void casa::LatticeFFT::myrcfft ( Lattice< Complex > &  out,
const Lattice< Float > &  in,
const Vector< Bool > &  whichAxes,
const Bool  doShift = True 
) [static]
static void casa::LatticeFFT::myrcfft ( Lattice< Complex > &  out,
const Lattice< Float > &  in,
const Bool  doShift = True 
) [static]
static void casa::LatticeFFT::rcfft ( Lattice< Complex > &  out,
const Lattice< Float > &  in,
const Vector< Bool > &  whichAxes,
const Bool  doShift = True,
Bool  doFast = False 
) [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,...]

static void casa::LatticeFFT::rcfft ( Lattice< Complex > &  out,
const Lattice< Float > &  in,
const Bool  doShift = True,
Bool  doFast = False 
) [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,...]


The documentation for this class was generated from the following file: