casa
$Rev:20696$
|
class ALMAAperture : public ATerm More...
#include <ALMAAperture.h>
Public Member Functions | |
ALMAAperture () | |
~ALMAAperture () | |
ALMAAperture & | operator= (const ALMAAperture &other) |
virtual String | name () |
Overload these functions. | |
virtual void | applySky (ImageInterface< Float > &outputImage, const VisBuffer &vb, const Bool doSquint=True, const Int &cfKey=0) |
virtual void | applySky (ImageInterface< Complex > &outputImage, const VisBuffer &vb, const Bool doSquint=True, const Int &cfKey=0) |
void | applySky (ImageInterface< Float > &outputImage, const VisBuffer &vb, const Bool doSquint, const Int &cfKey, const Bool raytrace) |
void | applySky (ImageInterface< Complex > &outputImage, const VisBuffer &vb, const Bool doSquint, const Int &cfKey, const Bool raytrace) |
virtual Vector< Int > | vbRow2CFKeyMap (const VisBuffer &vb, Int &nUnique) |
Not sure if the following method is requried. | |
virtual void | setPolMap (const Vector< Int > &polMap) |
The mapping from VisBuffer polarizations map to the Image plane polarization. | |
virtual void | getPolMap (Vector< Int > &polMap) |
virtual Int | getConvSize () |
virtual Int | getOversampling () |
virtual Float | getConvWeightSizeFactor () |
virtual Float | getSupportThreshold () |
Vector< ALMAAntennaType > | antTypeMap (const VisBuffer &vb) |
tell the antenna type number for each antenna in the antenna table | |
void | resetAntTypeMap () |
call this before reusing the same ALMAAperture object on a different MS | |
Vector< ALMAAntennaType > | antTypeList (const VisBuffer &vb) |
generate the lists of antenna types for the whole vb | |
Int | getVisParams (const VisBuffer &vb, const CoordinateSystem &skyCoord=CoordinateSystem()) |
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. | |
void | destroyAntResp () |
Static Public Member Functions | |
static ALMAAntennaType | antTypeFromName (const String &name) |
derive type number from first two characters in antenna name, return -1 if not recognised | |
static String | antTypeStrFromType (const ALMAAntennaType &aType) |
static Int | cFKeyFromAntennaTypes (const ALMAAntennaType aT1, const ALMAAntennaType aT2) |
static Vector< ALMAAntennaType > | antennaTypesFromCFKey (const Int &cFKey) |
Private Attributes | |
Vector< Int > | polMap_p |
Bool | haveCannedResponses_p |
Vector< ALMAAntennaType > | antTypeMap_p |
Vector< PagedImage< Complex > * > | respImage_p |
Static Private Attributes | |
static AntennaResponses * | aR_p |
static Bool | orderMattersInCFKey |
class ALMAAperture : public ATerm
Definition at line 68 of file ALMAAperture.h.
static Vector<ALMAAntennaType> casa::ALMAAperture::antennaTypesFromCFKey | ( | const Int & | cFKey | ) | [static] |
static ALMAAntennaType casa::ALMAAperture::antTypeFromName | ( | const String & | name | ) | [static] |
derive type number from first two characters in antenna name, return -1 if not recognised
Vector<ALMAAntennaType> casa::ALMAAperture::antTypeList | ( | const VisBuffer & | vb | ) |
generate the lists of antenna types for the whole vb
Vector<ALMAAntennaType> casa::ALMAAperture::antTypeMap | ( | const VisBuffer & | vb | ) |
tell the antenna type number for each antenna in the antenna table
static String casa::ALMAAperture::antTypeStrFromType | ( | const ALMAAntennaType & | aType | ) | [static] |
virtual void casa::ALMAAperture::applySky | ( | ImageInterface< Float > & | outputImage, |
const VisBuffer & | vb, | ||
const Bool | doSquint = True , |
||
const Int & | cfKey = 0 |
||
) | [inline, virtual] |
virtual void casa::ALMAAperture::applySky | ( | ImageInterface< Complex > & | outputImage, |
const VisBuffer & | vb, | ||
const Bool | doSquint = True , |
||
const Int & | cfKey = 0 |
||
) | [inline, virtual] |
Definition at line 86 of file ALMAAperture.h.
References applySky(), and casa::False.
void casa::ALMAAperture::applySky | ( | ImageInterface< Float > & | outputImage, |
const VisBuffer & | vb, | ||
const Bool | doSquint, | ||
const Int & | cfKey, | ||
const Bool | raytrace | ||
) |
void casa::ALMAAperture::applySky | ( | ImageInterface< Complex > & | outputImage, |
const VisBuffer & | vb, | ||
const Bool | doSquint, | ||
const Int & | cfKey, | ||
const Bool | raytrace | ||
) |
static Int casa::ALMAAperture::cFKeyFromAntennaTypes | ( | const ALMAAntennaType | aT1, |
const ALMAAntennaType | aT2 | ||
) | [static] |
void casa::ALMAAperture::destroyAntResp | ( | ) | [inline] |
Definition at line 137 of file ALMAAperture.h.
References aR_p.
virtual Int casa::ALMAAperture::getConvSize | ( | ) | [inline, virtual] |
virtual Float casa::ALMAAperture::getConvWeightSizeFactor | ( | ) | [inline, virtual] |
Reimplemented from casa::ATerm.
Definition at line 109 of file ALMAAperture.h.
References CONVWTSIZEFACTOR.
virtual Int casa::ALMAAperture::getOversampling | ( | ) | [inline, virtual] |
Reimplemented from casa::ATerm.
Definition at line 108 of file ALMAAperture.h.
References OVERSAMPLING.
virtual void casa::ALMAAperture::getPolMap | ( | Vector< Int > & | polMap | ) | [inline, virtual] |
Reimplemented from casa::ATerm.
Definition at line 106 of file ALMAAperture.h.
References polMap_p, and casa::Vector< T >::resize().
virtual Float casa::ALMAAperture::getSupportThreshold | ( | ) | [inline, virtual] |
Reimplemented from casa::ATerm.
Definition at line 110 of file ALMAAperture.h.
References THRESHOLD.
Int casa::ALMAAperture::getVisParams | ( | const VisBuffer & | vb, |
const CoordinateSystem & | skyCoord = CoordinateSystem() |
||
) | [virtual] |
Implements casa::ATerm.
Int casa::ALMAAperture::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.
Reimplemented from casa::ATerm.
virtual String casa::ALMAAperture::name | ( | ) | [inline, virtual] |
Overload these functions.
They are pure virtual in the base class (ATerm).
Implements casa::ATerm.
Definition at line 79 of file ALMAAperture.h.
References String.
ALMAAperture& casa::ALMAAperture::operator= | ( | const ALMAAperture & | other | ) |
void casa::ALMAAperture::resetAntTypeMap | ( | ) | [inline] |
call this before reusing the same ALMAAperture object on a different MS
Definition at line 116 of file ALMAAperture.h.
References antTypeMap_p, and casa::Vector< T >::resize().
virtual void casa::ALMAAperture::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::ATerm.
Definition at line 105 of file ALMAAperture.h.
References polMap_p, and casa::Vector< T >::resize().
virtual Vector<Int> casa::ALMAAperture::vbRow2CFKeyMap | ( | const VisBuffer & | vb, |
Int & | nUnique | ||
) | [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.
Reimplemented from casa::ATerm.
Definition at line 145 of file ALMAAperture.h.
Referenced by resetAntTypeMap().
AntennaResponses* casa::ALMAAperture::aR_p [static, private] |
Definition at line 137 of file ALMAAperture.h.
Referenced by destroyAntResp().
Definition at line 144 of file ALMAAperture.h.
Bool casa::ALMAAperture::orderMattersInCFKey [static, private] |
Definition at line 142 of file ALMAAperture.h.
Vector<Int> casa::ALMAAperture::polMap_p [private] |
Definition at line 143 of file ALMAAperture.h.
Referenced by getPolMap(), and setPolMap().
Vector<PagedImage<Complex>* > casa::ALMAAperture::respImage_p [private] |
Definition at line 146 of file ALMAAperture.h.