ComponentFTMachine: a abstract base class defining the interface for a Fourier Transform Machine to be used in the SkyEquation for the transformation of SkyComponents. More...
#include <ComponentFTMachine.h>
Public Member Functions | |
ComponentFTMachine () | |
ComponentFTMachine (const ComponentFTMachine &other) | |
ComponentFTMachine & | operator= (const ComponentFTMachine &other) |
virtual | ~ComponentFTMachine () |
virtual void | get (vi::VisBuffer2 &vb, SkyComponent &component, Int row=-1)=0 |
Get actual coherence : this is the only virtual method. | |
virtual void | get (vi::VisBuffer2 &vb, const ComponentList &componentList, Int row=-1)=0 |
Get actual coherence : this is the other only virtual method. | |
void | rotateUVW (Matrix< Double > &uvw, Vector< Double > &dphase, const vi::VisBuffer2 &vb, const MDirection &mDesired) |
Rotate the uvw from the observed phase center to the desired phase center. | |
void | rotateUVW (Double *&uvw, Double *&dphase, const Int nrows, const vi::VisBuffer2 &vb, const MDirection &mDesired) |
A version that use pointers to contigous matrix and vector. | |
void | setnumthreads (const Int numthreads) |
Set number of threads to use when predicting. | |
Protected Member Functions | |
LogIO & | logIO () |
virtual void | ok () |
Protected Attributes | |
LogIO | logIO_p |
MPosition | mLocation_p |
Default Position used for phase rotations. | |
Int | numthreads_p |
ComponentFTMachine: a abstract base class defining the interface for a Fourier Transform Machine to be used in the SkyEquation for the transformation of SkyComponents.
Public interface
FTMachine is a Machine for Fourier Transforms
The SkyEquation needs to be able to perform Fourier transforms on visibility data. FTMachine allows efficient Fourier Transform processing using a VisBuffer which encapsulates a chunk of visibility (typically all baselines for one time) together with all the information needed for processing (e.g. UVW coordinates).
A simple example of an ComponentFTMachine is found in SimpleComponentFTMachine . See the example for SkyModel .
Define an interface to allow efficient processing of chunks of visibility data
Definition at line 103 of file ComponentFTMachine.h.
casa::refim::ComponentFTMachine::ComponentFTMachine | ( | ) |
casa::refim::ComponentFTMachine::ComponentFTMachine | ( | const ComponentFTMachine & | other | ) |
virtual casa::refim::ComponentFTMachine::~ComponentFTMachine | ( | ) | [virtual] |
virtual void casa::refim::ComponentFTMachine::get | ( | vi::VisBuffer2 & | vb, | |
const ComponentList & | componentList, | |||
Int | row = -1 | |||
) | [pure virtual] |
Get actual coherence : this is the other only virtual method.
Implemented in casa::refim::SimpleComponentFTMachine.
virtual void casa::refim::ComponentFTMachine::get | ( | vi::VisBuffer2 & | vb, | |
SkyComponent & | component, | |||
Int | row = -1 | |||
) | [pure virtual] |
Get actual coherence : this is the only virtual method.
Implemented in casa::refim::SimpleComponentFTMachine.
LogIO& casa::refim::ComponentFTMachine::logIO | ( | ) | [protected] |
virtual void casa::refim::ComponentFTMachine::ok | ( | ) | [protected, virtual] |
ComponentFTMachine& casa::refim::ComponentFTMachine::operator= | ( | const ComponentFTMachine & | other | ) |
void casa::refim::ComponentFTMachine::rotateUVW | ( | Double *& | uvw, | |
Double *& | dphase, | |||
const Int | nrows, | |||
const vi::VisBuffer2 & | vb, | |||
const MDirection & | mDesired | |||
) |
A version that use pointers to contigous matrix and vector.
void casa::refim::ComponentFTMachine::rotateUVW | ( | Matrix< Double > & | uvw, | |
Vector< Double > & | dphase, | |||
const vi::VisBuffer2 & | vb, | |||
const MDirection & | mDesired | |||
) |
Rotate the uvw from the observed phase center to the desired phase center.
void casa::refim::ComponentFTMachine::setnumthreads | ( | const Int | numthreads | ) |
LogIO casa::refim::ComponentFTMachine::logIO_p [protected] |
Definition at line 131 of file ComponentFTMachine.h.
MPosition casa::refim::ComponentFTMachine::mLocation_p [protected] |
Default Position used for phase rotations.
Definition at line 136 of file ComponentFTMachine.h.
Int casa::refim::ComponentFTMachine::numthreads_p [protected] |
Definition at line 139 of file ComponentFTMachine.h.