casa
$Rev:20696$
|
The base class to represent the Aperture-Term of the Measurement Equation. More...
#include <ATerm.h>
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< Int > | vbRow2CFKeyMap (const VisBuffer &vb, Int &nUnique) |
Not sure if the following method is requried. | |
virtual void | getPolMap (Vector< Int > &polMap) |
virtual Vector< Int > | getAntTypeList () |
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 | |
LogIO & | logIO () |
Protected Attributes | |
LogIO | logIO_p |
Vector< Int > | polMap_p_base |
The base class to represent the Aperture-Term of the Measurement Equation.
Public interface
A-Term to account for the effects of the antenna primary beam(s).
casa::ATerm::ATerm | ( | ) | [inline] |
virtual casa::ATerm::~ATerm | ( | ) | [inline, virtual] |
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.
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] |
Implements casa::CFTerms.
Implemented in casa::ALMAAperture, casa::NoOpATerm, and casa::EVLAAperture.
Referenced by casa::AWConvFunc::getVisParams().
LogIO& casa::ATerm::logIO | ( | ) | [inline, protected] |
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] |
Implements casa::CFTerms.
Implemented in casa::ALMAAperture, casa::NoOpATerm, and casa::EVLAAperture.
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.
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().
LogIO casa::ATerm::logIO_p [protected] |
Vector<Int> casa::ATerm::polMap_p_base [protected] |
Reimplemented from casa::CFTerms.
Definition at line 148 of file ATerm.h.
Referenced by getPolMap(), and setPolMap().