casa
5.7.0-16
|
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, casacore::Int row=-1)=0 |
Get actual coherence : this is the only virtual method. More... | |
virtual void | get (vi::VisBuffer2 &vb, const ComponentList &componentList, casacore::Int row=-1)=0 |
Get actual coherence : this is the other only virtual method. More... | |
void | rotateUVW (casacore::Matrix< casacore::Double > &uvw, casacore::Vector< casacore::Double > &dphase, const vi::VisBuffer2 &vb, const casacore::MDirection &mDesired) |
Rotate the uvw from the observed phase center to the desired phase center. More... | |
void | rotateUVW (casacore::Double *&uvw, casacore::Double *&dphase, const casacore::Int nrows, const vi::VisBuffer2 &vb, const casacore::MDirection &mDesired) |
A version that use pointers to contigous matrix and vector. More... | |
void | setnumthreads (const casacore::Int numthreads) |
Set number of threads to use when predicting. More... | |
Protected Member Functions | |
casacore::LogIO & | logIO () |
virtual void | ok () |
Protected Attributes | |
casacore::LogIO | logIO_p |
casacore::MPosition | mLocation_p |
Default Position used for phase rotations. More... | |
casacore::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 |
|
pure virtual |
Get actual coherence : this is the only virtual method.
Implemented in casa::refim::SimpleComponentFTMachine.
|
pure virtual |
Get actual coherence : this is the other only virtual method.
Implemented in casa::refim::SimpleComponentFTMachine.
|
protected |
|
protectedvirtual |
ComponentFTMachine& casa::refim::ComponentFTMachine::operator= | ( | const ComponentFTMachine & | other | ) |
void casa::refim::ComponentFTMachine::rotateUVW | ( | casacore::Matrix< casacore::Double > & | uvw, |
casacore::Vector< casacore::Double > & | dphase, | ||
const vi::VisBuffer2 & | vb, | ||
const casacore::MDirection & | mDesired | ||
) |
Rotate the uvw from the observed phase center to the desired phase center.
void casa::refim::ComponentFTMachine::rotateUVW | ( | casacore::Double *& | uvw, |
casacore::Double *& | dphase, | ||
const casacore::Int | nrows, | ||
const vi::VisBuffer2 & | vb, | ||
const casacore::MDirection & | mDesired | ||
) |
A version that use pointers to contigous matrix and vector.
void casa::refim::ComponentFTMachine::setnumthreads | ( | const casacore::Int | numthreads | ) |
Set number of threads to use when predicting.
Setting it to -1 basically tell openmp to use the number it can get
|
protected |
Definition at line 131 of file ComponentFTMachine.h.
|
protected |
Default Position used for phase rotations.
Definition at line 136 of file ComponentFTMachine.h.
|
protected |
Definition at line 139 of file ComponentFTMachine.h.