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

does the simplest Fourier transform on SkyComponents More...

#include <SimpleComponentFTMachine.h>

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

Public Member Functions

virtual void get (vi::VisBuffer2 &vb, const ComponentList &compList, casacore::Int row=-1)
 Get actual coherence. More...
 
virtual void get (vi::VisBuffer2 &vb, SkyComponent &skycomponent, casacore::Int row=-1)
 Get actual coherence. More...
 
- Public Member Functions inherited from casa::refim::ComponentFTMachine
 ComponentFTMachine ()
 
 ComponentFTMachine (const ComponentFTMachine &other)
 
ComponentFTMachineoperator= (const ComponentFTMachine &other)
 
virtual ~ComponentFTMachine ()
 
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

void applyPhasor (const casacore::Int part, const casacore::Block< casacore::Int > &startrow, const casacore::Vector< casacore::uInt > &nRowp, const casacore::Vector< casacore::Double > &dphase, const casacore::Vector< casacore::Double > &invLambda, const casacore::Int npol, const casacore::Int nchan, const casacore::Vector< casacore::Int > &corrType, const casacore::Cube< casacore::DComplex > &dVis, casacore::Complex *&modData)
 
void predictVis (casacore::Complex *&modData, const casacore::Vector< casacore::Double > &invLambda, const casacore::Vector< casacore::Double > &frequency, const ComponentList &compList, ComponentType::Polarisation poltype, const casacore::Vector< casacore::Int > &corrType, const casacore::uInt startrow, const casacore::uInt nrows, const casacore::uInt nchan, const casacore::uInt npol, const casacore::Block< casacore::Matrix< casacore::Double > > &uvwcomp, const casacore::Block< casacore::Vector< casacore::Double > > &dphasecomp)
 
- Protected Member Functions inherited from casa::refim::ComponentFTMachine
casacore::LogIOlogIO ()
 
virtual void ok ()
 

Additional Inherited Members

- Protected Attributes inherited from casa::refim::ComponentFTMachine
casacore::LogIO logIO_p
 
casacore::MPosition mLocation_p
 Default Position used for phase rotations. More...
 
casacore::Int numthreads_p
 

Detailed Description

does the simplest Fourier transform on SkyComponents

Intended use:

Public interface

Prerequisite

Etymology

ComponentFTMachine is a Machine for Fourier Transforms of SkyComponents

Synopsis

Does a simple transform of a sky component. The phase term is fully accurate but no smearing is included.

Example

Motivation

Allow transformation of sky components.

Definition at line 88 of file SimpleComponentFTMachine.h.

Member Function Documentation

void casa::refim::SimpleComponentFTMachine::applyPhasor ( const casacore::Int  part,
const casacore::Block< casacore::Int > &  startrow,
const casacore::Vector< casacore::uInt > &  nRowp,
const casacore::Vector< casacore::Double > &  dphase,
const casacore::Vector< casacore::Double > &  invLambda,
const casacore::Int  npol,
const casacore::Int  nchan,
const casacore::Vector< casacore::Int > &  corrType,
const casacore::Cube< casacore::DComplex > &  dVis,
casacore::Complex *&  modData 
)
protected
virtual void casa::refim::SimpleComponentFTMachine::get ( vi::VisBuffer2 vb,
const ComponentList compList,
casacore::Int  row = -1 
)
virtual

Get actual coherence.

Implements casa::refim::ComponentFTMachine.

virtual void casa::refim::SimpleComponentFTMachine::get ( vi::VisBuffer2 vb,
SkyComponent skycomponent,
casacore::Int  row = -1 
)
virtual

Get actual coherence.

Implements casa::refim::ComponentFTMachine.

void casa::refim::SimpleComponentFTMachine::predictVis ( casacore::Complex *&  modData,
const casacore::Vector< casacore::Double > &  invLambda,
const casacore::Vector< casacore::Double > &  frequency,
const ComponentList compList,
ComponentType::Polarisation  poltype,
const casacore::Vector< casacore::Int > &  corrType,
const casacore::uInt  startrow,
const casacore::uInt  nrows,
const casacore::uInt  nchan,
const casacore::uInt  npol,
const casacore::Block< casacore::Matrix< casacore::Double > > &  uvwcomp,
const casacore::Block< casacore::Vector< casacore::Double > > &  dphasecomp 
)
protected

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