casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
casa::ComponentFTMachine Class Referenceabstract

#include <ComponentFTMachine.h>

Inheritance diagram for casa::ComponentFTMachine:
casa::SimpComponentGridMachine casa::SimpleComponentFTMachine casa::SimpleComponentGridMachine

Public Member Functions

 ComponentFTMachine ()
 
 ComponentFTMachine (const ComponentFTMachine &other)
 
ComponentFTMachineoperator= (const ComponentFTMachine &other)
 
virtual ~ComponentFTMachine ()
 
virtual void get (VisBuffer &vb, SkyComponent &component, casacore::Int row=-1)=0
 Get actual coherence : this is the only virtual method. More...
 
virtual void get (VisBuffer &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 VisBuffer &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 VisBuffer &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...
 
void setPhaseCenterTime (const casacore::Double time)
 set and get Time to calculate phasecenter -1.0 means using the time available at each iteration..this is used when the phasecenter in the field table is either a polynomial or has a ephemerides tables associated with it Using double in the units and epoch-frame of the ms(s)..caller is responsible for conversion More...
 
casacore::Double getPhaseCenterTime ()
 

Protected Member Functions

casacore::LogIOlogIO ()
 
virtual void ok ()
 

Protected Attributes

casacore::LogIO logIO_p
 
casacore::MPosition mLocation_p
 Default Position used for phase rotations. More...
 
casacore::Int numthreads_p
 
casacore::Double phaseCenterTime_p
 

Detailed Description

Definition at line 102 of file ComponentFTMachine.h.

Constructor & Destructor Documentation

casa::ComponentFTMachine::ComponentFTMachine ( )
casa::ComponentFTMachine::ComponentFTMachine ( const ComponentFTMachine other)
virtual casa::ComponentFTMachine::~ComponentFTMachine ( )
virtual

Member Function Documentation

virtual void casa::ComponentFTMachine::get ( VisBuffer vb,
SkyComponent component,
casacore::Int  row = -1 
)
pure virtual

Get actual coherence : this is the only virtual method.

Implemented in casa::SimpleComponentFTMachine, casa::SimpleComponentGridMachine, and casa::SimpComponentGridMachine.

virtual void casa::ComponentFTMachine::get ( VisBuffer vb,
const ComponentList componentList,
casacore::Int  row = -1 
)
pure virtual

Get actual coherence : this is the other only virtual method.

Implemented in casa::SimpleComponentFTMachine, and casa::SimpleComponentGridMachine.

casacore::Double casa::ComponentFTMachine::getPhaseCenterTime ( )
inline

Definition at line 133 of file ComponentFTMachine.h.

casacore::LogIO& casa::ComponentFTMachine::logIO ( )
protected
virtual void casa::ComponentFTMachine::ok ( )
protectedvirtual
ComponentFTMachine& casa::ComponentFTMachine::operator= ( const ComponentFTMachine other)
void casa::ComponentFTMachine::rotateUVW ( casacore::Matrix< casacore::Double > &  uvw,
casacore::Vector< casacore::Double > &  dphase,
const VisBuffer vb,
const casacore::MDirection mDesired 
)

Rotate the uvw from the observed phase center to the desired phase center.

void casa::ComponentFTMachine::rotateUVW ( casacore::Double *&  uvw,
casacore::Double *&  dphase,
const casacore::Int  nrows,
const VisBuffer vb,
const casacore::MDirection mDesired 
)

A version that use pointers to contigous matrix and vector.

void casa::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

void casa::ComponentFTMachine::setPhaseCenterTime ( const casacore::Double  time)
inline

set and get Time to calculate phasecenter -1.0 means using the time available at each iteration..this is used when the phasecenter in the field table is either a polynomial or has a ephemerides tables associated with it Using double in the units and epoch-frame of the ms(s)..caller is responsible for conversion

Definition at line 132 of file ComponentFTMachine.h.

References phaseCenterTime_p, and casa::time.

Member Data Documentation

casacore::LogIO casa::ComponentFTMachine::logIO_p
protected

Definition at line 133 of file ComponentFTMachine.h.

casacore::MPosition casa::ComponentFTMachine::mLocation_p
protected

Default Position used for phase rotations.

Definition at line 141 of file ComponentFTMachine.h.

casacore::Int casa::ComponentFTMachine::numthreads_p
protected

Definition at line 144 of file ComponentFTMachine.h.

casacore::Double casa::ComponentFTMachine::phaseCenterTime_p
protected

Definition at line 145 of file ComponentFTMachine.h.

Referenced by setPhaseCenterTime().


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