casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::DFTServer< T > Class Template Reference

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

#include <DFTServer.h>

Public Member Functions

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

Private Member Functions

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

Private Attributes

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

Detailed Description

template<class T>
class casacore::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>
casacore::DFTServer< T >::DFTServer ( )

default constructor

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

copy constructor

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

Other constructors.

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

destructor

Member Function Documentation

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

does a complex to complex DFT

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

n-d complex <-> real dft

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

n-d complex <-> complex dft

template<class T>
Matrix<T> casacore::DFTServer< T >::getMatrix ( Array< T > &  )
private

turn a general array into a matrix

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

assignment

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

n-d real <-> complex dft

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

display both the real and the imaginary components of the data

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

display only the real component of the data

Member Data Documentation

template<class T>
int casacore::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 casacore::DFTServer< T >::dimension
private

dimension of the both input and output data

Definition at line 114 of file DFTServer.h.

template<class T>
int casacore::DFTServer< T >::numFreq
private

number of frequency data points

Definition at line 120 of file DFTServer.h.

template<class T>
int casacore::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: