casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::DFTServer< T > Class Template Reference

Class containing methods for doing n-D slow Fourier transforms. More...

#include <DFTServer.h>

List of all members.

Public Member Functions

 DFTServer ()
 default constructor
 DFTServer (const DFTServer< T > &)
 copy constructor
 DFTServer (Array< T > &, Array< T > &)
 Other constructors.
 DFTServer (int, int, int)
 DFTServer (IPosition &, IPosition &)
 ~DFTServer ()
 destructor
DFTServer< T > & operator= (const DFTServer< T > &)
 assignment
void rcdft (Array< T > &, Array< T > &)
 n-d real <-> complex dft
void crdft (Array< T > &, Array< T > &)
 n-d complex <-> real dft
void cxdft (Array< T > &, Array< T > &, int)
 n-d complex <-> complex dft
void showReal (Array< T > &)
 display only the real component of the data
void showComplex (Array< T > &)
 display both the real and the imaginary components of the data

Private Member Functions

void c2c (Matrix< T > &, Matrix< T > &, int)
 does a complex to complex DFT
Matrix< T > getMatrix (Array< T > &)
 turn a general array into a matrix

Private Attributes

int dimension
 dimension of the both input and output data
int numTime
 number of time data points
int numFreq
 number of frequency data points
int crFlag
 set to 1 (true) if a crfft is done

Detailed Description

template<class T>
class casa::DFTServer< T >

Class containing methods for doing n-D slow Fourier transforms.

Synopsis

The DFTServer class contains methods for doing n-dimensional Slow Fourier Transforms. (In practice, the maximum dimension is 3).

Definition at line 75 of file DFTServer.h.


Constructor & Destructor Documentation

template<class T>
casa::DFTServer< T >::DFTServer ( )

default constructor

template<class T>
casa::DFTServer< T >::DFTServer ( const DFTServer< T > &  )

copy constructor

template<class T>
casa::DFTServer< T >::DFTServer ( Array< T > &  ,
Array< T > &   
)

Other constructors.

template<class T>
casa::DFTServer< T >::DFTServer ( int  ,
int  ,
int   
)
template<class T>
casa::DFTServer< T >::DFTServer ( IPosition ,
IPosition  
)
template<class T>
casa::DFTServer< T >::~DFTServer ( )

destructor


Member Function Documentation

template<class T>
void casa::DFTServer< T >::c2c ( Matrix< T > &  ,
Matrix< T > &  ,
int   
) [private]

does a complex to complex DFT

template<class T>
void casa::DFTServer< T >::crdft ( Array< T > &  ,
Array< T > &   
)

n-d complex <-> real dft

template<class T>
void casa::DFTServer< T >::cxdft ( Array< T > &  ,
Array< T > &  ,
int   
)

n-d complex <-> complex dft

template<class T>
Matrix<T> casa::DFTServer< T >::getMatrix ( Array< T > &  ) [private]

turn a general array into a matrix

template<class T>
DFTServer<T>& casa::DFTServer< T >::operator= ( const DFTServer< T > &  )

assignment

template<class T>
void casa::DFTServer< T >::rcdft ( Array< T > &  ,
Array< T > &   
)

n-d real <-> complex dft

template<class T>
void casa::DFTServer< T >::showComplex ( Array< T > &  )

display both the real and the imaginary components of the data

template<class T>
void casa::DFTServer< T >::showReal ( Array< T > &  )

display only the real component of the data


Member Data Documentation

template<class T>
int casa::DFTServer< T >::crFlag [private]

set to 1 (true) if a crfft is done

Definition at line 123 of file DFTServer.h.

template<class T>
int casa::DFTServer< T >::dimension [private]

dimension of the both input and output data

Definition at line 114 of file DFTServer.h.

template<class T>
int casa::DFTServer< T >::numFreq [private]

number of frequency data points

Definition at line 120 of file DFTServer.h.

template<class T>
int casa::DFTServer< T >::numTime [private]

number of time data points

Definition at line 117 of file DFTServer.h.


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