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

The base class to represent the Aperture-Term of the Measurement Equation. More...

#include <CFTerms.h>

Inheritance diagram for casa::refim::CFTerms:
casa::refim::ATerm casa::refim::PSTerm casa::refim::WTerm casa::refim::AzElAperture casa::refim::NoOpATerm casa::refim::EVLAAperture

Public Types

enum  OpCodes {
  NOOP,
  NORMAL
}
 

Public Member Functions

 CFTerms ()
 
virtual ~CFTerms ()
 
virtual void setOpCode (OpCodes code)
 
virtual casacore::Bool isNoOp ()
 
virtual casacore::String name ()=0
 
virtual void applySky (casacore::ImageInterface< casacore::Float > &outputImages, const VisBuffer2 &vb, const casacore::Bool doSquint=true, const casacore::Int &cfKey=0, const casacore::Int &muellerTerms=0, const casacore::Double freqVal=-1)=0
 
virtual void applySky (casacore::ImageInterface< casacore::Complex > &outputImages, const VisBuffer2 &vb, const casacore::Bool doSquint=true, const casacore::Int &cfKey=0, const casacore::Int &muellerTerms=0, const casacore::Double freqVal=-1)=0
 
virtual casacore::Vector
< casacore::Int
vbRow2CFKeyMap (const VisBuffer2 &vb, casacore::Int &nUnique)=0
 Not sure if the following method is requried. More...
 
virtual casacore::Int makePBPolnCoords (const VisBuffer2 &vb, const casacore::Int &convSize, const casacore::Int &convSampling, const casacore::CoordinateSystem &skyCoord, const casacore::Int &skyNx, const casacore::Int &skyNy, casacore::CoordinateSystem &feedCoord)=0
 
virtual casacore::Int getConvSize ()=0
 
virtual void setConvSize (const casacore::Int val)=0
 
virtual casacore::Int getOversampling ()=0
 
virtual casacore::Float getConvWeightSizeFactor ()=0
 
virtual casacore::Float getSupportThreshold ()=0
 
virtual void normalizeImage (casacore::Lattice< casacore::Complex > &skyImage, const casacore::Matrix< casacore::Float > &weights)=0
 
virtual int getVisParams (const VisBuffer2 &vb, const casacore::CoordinateSystem &skyCoord=casacore::CoordinateSystem())=0
 
virtual void setPolMap (const casacore::Vector< casacore::Int > &polMap)
 The mapping from VisBuffer polarizations map to the Image plane polarization. More...
 
virtual void getPolMap (casacore::Vector< casacore::Int > &polMap)
 
virtual casacore::Bool rotationallySymmetric ()=0
 
void setBandName (const casacore::String &bandName)
 
casacore::StringgetBandName ()
 

Protected Member Functions

casacore::LogIOlogIO ()
 

Protected Attributes

casacore::LogIO logIO_p
 
casacore::Vector< casacore::IntpolMap_p_base
 
OpCodes opCode_p
 
casacore::String telescopeName_p
 
casacore::String bandName_p
 

Detailed Description

The base class to represent the Aperture-Term of the Measurement Equation.

Intended use:

Public interface

Etymology

A-Term to account for the effects of the antenna primary beam(s).

Synopsis

Definition at line 57 of file CFTerms.h.

Member Enumeration Documentation

Enumerator
NOOP 
NORMAL 

Definition at line 60 of file CFTerms.h.

Constructor & Destructor Documentation

casa::refim::CFTerms::CFTerms ( )
inline

Definition at line 61 of file CFTerms.h.

virtual casa::refim::CFTerms::~CFTerms ( )
inlinevirtual

Definition at line 62 of file CFTerms.h.

Member Function Documentation

virtual void casa::refim::CFTerms::applySky ( casacore::ImageInterface< casacore::Float > &  outputImages,
const VisBuffer2 vb,
const casacore::Bool  doSquint = true,
const casacore::Int cfKey = 0,
const casacore::Int muellerTerms = 0,
const casacore::Double  freqVal = -1 
)
pure virtual
virtual void casa::refim::CFTerms::applySky ( casacore::ImageInterface< casacore::Complex > &  outputImages,
const VisBuffer2 vb,
const casacore::Bool  doSquint = true,
const casacore::Int cfKey = 0,
const casacore::Int muellerTerms = 0,
const casacore::Double  freqVal = -1 
)
pure virtual
casacore::String& casa::refim::CFTerms::getBandName ( )
inline

Definition at line 136 of file CFTerms.h.

virtual casacore::Int casa::refim::CFTerms::getConvSize ( )
pure virtual
virtual casacore::Float casa::refim::CFTerms::getConvWeightSizeFactor ( )
pure virtual
virtual casacore::Int casa::refim::CFTerms::getOversampling ( )
pure virtual
virtual void casa::refim::CFTerms::getPolMap ( casacore::Vector< casacore::Int > &  polMap)
inlinevirtual
virtual casacore::Float casa::refim::CFTerms::getSupportThreshold ( )
pure virtual
virtual int casa::refim::CFTerms::getVisParams ( const VisBuffer2 vb,
const casacore::CoordinateSystem skyCoord = casacore::CoordinateSystem() 
)
pure virtual
virtual casacore::Bool casa::refim::CFTerms::isNoOp ( )
inlinevirtual

Reimplemented in casa::refim::NoOpATerm.

Definition at line 65 of file CFTerms.h.

casacore::LogIO& casa::refim::CFTerms::logIO ( )
inlineprotected

Definition at line 139 of file CFTerms.h.

virtual casacore::Int casa::refim::CFTerms::makePBPolnCoords ( const VisBuffer2 vb,
const casacore::Int convSize,
const casacore::Int convSampling,
const casacore::CoordinateSystem skyCoord,
const casacore::Int skyNx,
const casacore::Int skyNy,
casacore::CoordinateSystem feedCoord 
)
pure virtual
virtual casacore::String casa::refim::CFTerms::name ( )
pure virtual
virtual void casa::refim::CFTerms::normalizeImage ( casacore::Lattice< casacore::Complex > &  skyImage,
const casacore::Matrix< casacore::Float > &  weights 
)
pure virtual
virtual casacore::Bool casa::refim::CFTerms::rotationallySymmetric ( )
pure virtual
void casa::refim::CFTerms::setBandName ( const casacore::String bandName)
inline

Definition at line 135 of file CFTerms.h.

virtual void casa::refim::CFTerms::setConvSize ( const casacore::Int  val)
pure virtual
virtual void casa::refim::CFTerms::setOpCode ( OpCodes  code)
inlinevirtual

Definition at line 64 of file CFTerms.h.

virtual void casa::refim::CFTerms::setPolMap ( const casacore::Vector< casacore::Int > &  polMap)
inlinevirtual

The mapping from VisBuffer polarizations map to the Image plane polarization.

The latter is determined by the user input, which is passed to the FTMachine in Imager.cc

The map is available in the FTMachine which uses this method to set the map for the CFTerms object.

Reimplemented in casa::refim::ATerm, casa::refim::NoOpATerm, casa::refim::PSTerm, and casa::refim::WTerm.

Definition at line 130 of file CFTerms.h.

virtual casacore::Vector<casacore::Int> casa::refim::CFTerms::vbRow2CFKeyMap ( const VisBuffer2 vb,
casacore::Int nUnique 
)
pure virtual

Not sure if the following method is requried.

Leaving it in the code for now with an implementation that does nothing.

virtual void applySky(casacore::Matrix<casacore::Complex>& screen, const casacore::Int wPixel, const casacore::Vector<casacore::Double>& sampling, const casacore::Int wConvSize, const casacore::Double wScale, const casacore::Int inner) {(void)screen; (void)wPixel; (void)sampling; (void)wConvSize; (void)wScale; (void)inner;};

Returns a vector of integers that map each row in the given VisBuffer to an index that is used to pick the appropriate convolution function plane. It also returns the number of unique baselines in the nUnique parameter (unique baselines are defined as the number of baselines each requiring a unique convolution function).

This is required for Heterogeneous antenna arrays (like ALMA) and for all arrays where not all antenna aperture illuminations can be treated as identical.

Implemented in casa::refim::ATerm, casa::refim::PSTerm, casa::refim::WTerm, and casa::refim::EVLAAperture.

Member Data Documentation

casacore::String casa::refim::CFTerms::bandName_p
protected

Definition at line 143 of file CFTerms.h.

casacore::LogIO casa::refim::CFTerms::logIO_p
protected

Definition at line 140 of file CFTerms.h.

OpCodes casa::refim::CFTerms::opCode_p
protected

Definition at line 142 of file CFTerms.h.

casacore::Vector<casacore::Int> casa::refim::CFTerms::polMap_p_base
protected

Definition at line 141 of file CFTerms.h.

casacore::String casa::refim::CFTerms::telescopeName_p
protected

Definition at line 143 of file CFTerms.h.


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