casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
casa::ATerm Class Reference

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

#include <ATerm.h>

Inheritance diagram for casa::ATerm:
casa::CFTerms casa::AzElAperture casa::NoOpATerm casa::ALMAAperture casa::EVLAAperture

List of all members.

Public Member Functions

 ATerm ()
virtual ~ATerm ()
virtual String name ()=0
virtual void applySky (ImageInterface< Float > &outputImages, const VisBuffer &vb, const Bool doSquint=True, const Int &cfKey=0, const Double freqVal=-1)=0
virtual void applySky (ImageInterface< Complex > &outputImages, const VisBuffer &vb, const Bool doSquint=True, const Int &cfKey=0, const Double freqVal=-1)=0
virtual Int makePBPolnCoords (const VisBuffer &vb, const Int &convSize, const Int &convSampling, const CoordinateSystem &skyCoord, const Int &skyNx, const Int &skyNy, CoordinateSystem &feedCoord)
 Not sure if the following method is requried.
virtual Vector< IntvbRow2CFKeyMap (const VisBuffer &vb, Int &nUnique)
 Not sure if the following method is requried.
virtual void getPolMap (Vector< Int > &polMap)
virtual Vector< IntgetAntTypeList ()
virtual Int getConvSize ()
virtual Int getOversampling ()
virtual Float getConvWeightSizeFactor ()
virtual Float getSupportThreshold ()
virtual void normalizeImage (Lattice< Complex > &skyImage, const Matrix< Float > &weights)
 virtual Vector<Int> vbRow2CFKeyMap(const VisBuffer& vb, Int& nUnique) = 0; virtual Int getConvSize() = 0; virtual Int getOversampling() = 0; virtual Float getConvWeightSizeFactor() = 0; virtual Float getSupportThreshold() = 0;
virtual int getVisParams (const VisBuffer &vb, const CoordinateSystem &skyCoord=CoordinateSystem())=0
virtual void setPolMap (const Vector< Int > &polMap)
 The mapping from VisBuffer polarizations map to the Image plane polarization.
virtual void rotate (const VisBuffer &vb, CFCell &cfs, const Double &rotAngleIncrement=5.0)=0
 virtual void rotate(const VisBuffer& vb, CFStore2& cfs)=0;
virtual Int mapAntIDToAntType (const Int &)

Protected Member Functions

LogIOlogIO ()

Protected Attributes

LogIO logIO_p
Vector< IntpolMap_p_base

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 62 of file ATerm.h.


Constructor & Destructor Documentation

casa::ATerm::ATerm ( ) [inline]

Definition at line 65 of file ATerm.h.

virtual casa::ATerm::~ATerm ( ) [inline, virtual]

Definition at line 66 of file ATerm.h.


Member Function Documentation

virtual void casa::ATerm::applySky ( ImageInterface< Float > &  outputImages,
const VisBuffer vb,
const Bool  doSquint = True,
const Int cfKey = 0,
const Double  freqVal = -1 
) [pure virtual]

Implements casa::CFTerms.

Implemented in casa::NoOpATerm, and casa::EVLAAperture.

virtual void casa::ATerm::applySky ( ImageInterface< Complex > &  outputImages,
const VisBuffer vb,
const Bool  doSquint = True,
const Int cfKey = 0,
const Double  freqVal = -1 
) [pure virtual]

Implements casa::CFTerms.

Implemented in casa::NoOpATerm, and casa::EVLAAperture.

virtual Vector<Int> casa::ATerm::getAntTypeList ( ) [inline, virtual]

Reimplemented in casa::NoOpATerm.

Definition at line 113 of file ATerm.h.

virtual Int casa::ATerm::getConvSize ( ) [inline, virtual]

Implements casa::CFTerms.

Reimplemented in casa::ALMAAperture.

Definition at line 114 of file ATerm.h.

References CONVSIZE.

virtual Float casa::ATerm::getConvWeightSizeFactor ( ) [inline, virtual]

Implements casa::CFTerms.

Reimplemented in casa::ALMAAperture.

Definition at line 116 of file ATerm.h.

References CONVWTSIZEFACTOR.

virtual Int casa::ATerm::getOversampling ( ) [inline, virtual]

Implements casa::CFTerms.

Reimplemented in casa::ALMAAperture.

Definition at line 115 of file ATerm.h.

References OVERSAMPLING.

virtual void casa::ATerm::getPolMap ( Vector< Int > &  polMap) [inline, virtual]

Reimplemented from casa::CFTerms.

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

Definition at line 112 of file ATerm.h.

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

virtual Float casa::ATerm::getSupportThreshold ( ) [inline, virtual]

Implements casa::CFTerms.

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

Definition at line 117 of file ATerm.h.

References THRESHOLD.

virtual int casa::ATerm::getVisParams ( const VisBuffer vb,
const CoordinateSystem skyCoord = CoordinateSystem() 
) [pure virtual]
LogIO& casa::ATerm::logIO ( ) [inline, protected]

Reimplemented from casa::CFTerms.

Definition at line 146 of file ATerm.h.

References logIO_p.

virtual Int casa::ATerm::makePBPolnCoords ( const VisBuffer vb,
const Int convSize,
const Int convSampling,
const CoordinateSystem skyCoord,
const Int skyNx,
const Int skyNy,
CoordinateSystem feedCoord 
) [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(Matrix<Complex>& screen, const Int wPixel, const Vector<Double>& sampling, const Int wConvSize, const Double wScale, const 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.

Implements casa::CFTerms.

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

virtual Int casa::ATerm::mapAntIDToAntType ( const Int ) [inline, virtual]

Definition at line 144 of file ATerm.h.

Referenced by casa::AWConvFunc::mapAntIDToAntType().

virtual String casa::ATerm::name ( ) [pure virtual]
virtual void casa::ATerm::normalizeImage ( Lattice< Complex > &  skyImage,
const Matrix< Float > &  weights 
) [inline, virtual]

virtual Vector<Int> vbRow2CFKeyMap(const VisBuffer& vb, Int& nUnique) = 0; virtual Int getConvSize() = 0; virtual Int getOversampling() = 0; virtual Float getConvWeightSizeFactor() = 0; virtual Float getSupportThreshold() = 0;

Implements casa::CFTerms.

Reimplemented in casa::NoOpATerm.

Definition at line 125 of file ATerm.h.

virtual void casa::ATerm::rotate ( const VisBuffer vb,
CFCell cfs,
const Double rotAngleIncrement = 5.0 
) [pure virtual]

virtual void rotate(const VisBuffer& vb, CFStore2& cfs)=0;

Implemented in casa::NoOpATerm, and casa::AzElAperture.

virtual void casa::ATerm::setPolMap ( const Vector< Int > &  polMap) [inline, virtual]

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 ATerm object.

Reimplemented from casa::CFTerms.

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

Definition at line 141 of file ATerm.h.

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

Referenced by casa::AWConvFunc::setPolMap().

virtual Vector<Int> casa::ATerm::vbRow2CFKeyMap ( const VisBuffer vb,
Int nUnique 
) [inline, 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(Matrix<Complex>& screen, const Int wPixel, const Vector<Double>& sampling, const Int wConvSize, const Double wScale, const 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.

Implements casa::CFTerms.

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

Definition at line 109 of file ATerm.h.

References casa::VisBuffer::nRow(), and casa::Vector< T >::resize().


Member Data Documentation

Reimplemented from casa::CFTerms.

Definition at line 147 of file ATerm.h.

Referenced by logIO().

Reimplemented from casa::CFTerms.

Definition at line 148 of file ATerm.h.

Referenced by getPolMap(), and setPolMap().


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