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::CFTerms Class Referenceabstract

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

#include <CFTerms.h>

Inheritance diagram for casa::CFTerms:
casa::ATerm casa::PSTerm casa::WTerm casa::AzElAperture casa::NoOpATerm casa::ALMAAperture casa::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 VisBuffer &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 VisBuffer &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 VisBuffer &vb, casacore::Int &nUnique)=0
 Not sure if the following method is requried. More...
 
virtual casacore::Int makePBPolnCoords (const VisBuffer &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 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 VisBuffer &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
 

Protected Member Functions

casacore::LogIOlogIO ()
 

Protected Attributes

casacore::LogIO logIO_p
 
casacore::Vector< casacore::IntpolMap_p_base
 
OpCodes opCode_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 55 of file CFTerms.h.

Member Enumeration Documentation

Enumerator
NOOP 
NORMAL 

Definition at line 58 of file CFTerms.h.

Constructor & Destructor Documentation

casa::CFTerms::CFTerms ( )
inline

Definition at line 59 of file CFTerms.h.

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

Definition at line 60 of file CFTerms.h.

Member Function Documentation

virtual void casa::CFTerms::applySky ( casacore::ImageInterface< casacore::Float > &  outputImages,
const VisBuffer 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::CFTerms::applySky ( casacore::ImageInterface< casacore::Complex > &  outputImages,
const VisBuffer vb,
const casacore::Bool  doSquint = true,
const casacore::Int cfKey = 0,
const casacore::Int muellerTerms = 0,
const casacore::Double  freqVal = -1 
)
pure virtual
virtual casacore::Int casa::CFTerms::getConvSize ( )
pure virtual

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

virtual casacore::Float casa::CFTerms::getConvWeightSizeFactor ( )
pure virtual

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

virtual casacore::Int casa::CFTerms::getOversampling ( )
pure virtual

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

virtual void casa::CFTerms::getPolMap ( casacore::Vector< casacore::Int > &  polMap)
inlinevirtual

Reimplemented in casa::NoOpATerm, casa::ATerm, casa::ALMAAperture, and casa::EVLAAperture.

Definition at line 127 of file CFTerms.h.

References polMap_p_base, and casacore::Vector< T >::resize().

virtual casacore::Float casa::CFTerms::getSupportThreshold ( )
pure virtual
virtual int casa::CFTerms::getVisParams ( const VisBuffer vb,
const casacore::CoordinateSystem skyCoord = casacore::CoordinateSystem() 
)
pure virtual
virtual casacore::Bool casa::CFTerms::isNoOp ( )
inlinevirtual

Reimplemented in casa::NoOpATerm.

Definition at line 63 of file CFTerms.h.

References NOOP, and opCode_p.

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

Definition at line 132 of file CFTerms.h.

References logIO_p.

virtual casacore::Int casa::CFTerms::makePBPolnCoords ( const VisBuffer 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::CFTerms::name ( )
pure virtual
virtual void casa::CFTerms::normalizeImage ( casacore::Lattice< casacore::Complex > &  skyImage,
const casacore::Matrix< casacore::Float > &  weights 
)
pure virtual
virtual casacore::Bool casa::CFTerms::rotationallySymmetric ( )
pure virtual
virtual void casa::CFTerms::setOpCode ( OpCodes  code)
inlinevirtual

Definition at line 62 of file CFTerms.h.

References opCode_p.

virtual void casa::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::ATerm, casa::NoOpATerm, casa::ALMAAperture, casa::PSTerm, and casa::WTerm.

Definition at line 126 of file CFTerms.h.

References polMap_p_base, and casacore::Vector< T >::resize().

virtual casacore::Vector<casacore::Int> casa::CFTerms::vbRow2CFKeyMap ( const VisBuffer 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::ATerm, casa::ALMAAperture, casa::PSTerm, casa::WTerm, and casa::EVLAAperture.

Member Data Documentation

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

Definition at line 133 of file CFTerms.h.

Referenced by logIO().

OpCodes casa::CFTerms::opCode_p
protected

Definition at line 135 of file CFTerms.h.

Referenced by isNoOp(), and setOpCode().

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

Definition at line 134 of file CFTerms.h.

Referenced by getPolMap(), and setPolMap().


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