casa::refim::ComponentFTMachine Class Reference

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>

Inheritance diagram for casa::refim::ComponentFTMachine:
casa::refim::SimpleComponentFTMachine

List of all members.

Public Member Functions

 ComponentFTMachine ()
 ComponentFTMachine (const ComponentFTMachine &other)
ComponentFTMachineoperator= (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

Detailed Description

ComponentFTMachine: a abstract base class defining the interface for a Fourier Transform Machine to be used in the SkyEquation for the transformation of SkyComponents.

Intended use:

Public interface

Prerequisite

Etymology

FTMachine is a Machine for Fourier Transforms

Synopsis

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).

Example

A simple example of an ComponentFTMachine is found in SimpleComponentFTMachine . See the example for SkyModel .

Motivation

Define an interface to allow efficient processing of chunks of visibility data

Definition at line 103 of file ComponentFTMachine.h.


Constructor & Destructor Documentation

casa::refim::ComponentFTMachine::ComponentFTMachine (  ) 
casa::refim::ComponentFTMachine::ComponentFTMachine ( const ComponentFTMachine other  ) 
virtual casa::refim::ComponentFTMachine::~ComponentFTMachine (  )  [virtual]

Member Function Documentation

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  ) 

Set number of threads to use when predicting.

Setting it to -1 basically tell openmp to use the number it can get


Member Data Documentation

Definition at line 131 of file ComponentFTMachine.h.

Default Position used for phase rotations.

Definition at line 136 of file ComponentFTMachine.h.

Definition at line 139 of file ComponentFTMachine.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1