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

class ALMAAperture : public ATerm More...

#include <ALMAAperture.h>

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

List of all members.

Public Member Functions

 ALMAAperture ()
 ~ALMAAperture ()
ALMAApertureoperator= (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< IntvbRow2CFKeyMap (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< ALMAAntennaTypeantTypeMap (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< ALMAAntennaTypeantTypeList (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< ALMAAntennaTypeantennaTypesFromCFKey (const Int &cFKey)

Private Attributes

Vector< IntpolMap_p
Bool haveCannedResponses_p
Vector< ALMAAntennaTypeantTypeMap_p
Vector< PagedImage< Complex > * > respImage_p

Static Private Attributes

static AntennaResponsesaR_p
static Bool orderMattersInCFKey

Detailed Description

class ALMAAperture : public ATerm

Definition at line 68 of file ALMAAperture.h.


Constructor & Destructor Documentation


Member Function Documentation

static ALMAAntennaType casa::ALMAAperture::antTypeFromName ( const String name) [static]

derive type number from first two characters in antenna name, return -1 if not recognised

generate the lists of antenna types for the whole vb

tell the antenna type number for each antenna in the antenna table

virtual void casa::ALMAAperture::applySky ( ImageInterface< Float > &  outputImage,
const VisBuffer vb,
const Bool  doSquint = True,
const Int cfKey = 0 
) [inline, virtual]

Definition at line 81 of file ALMAAperture.h.

References casa::False.

Referenced by applySky().

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]

Definition at line 137 of file ALMAAperture.h.

References aR_p.

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

Reimplemented from casa::ATerm.

Definition at line 107 of file ALMAAperture.h.

References CONVSIZE.

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)

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.


Member Data Documentation

Definition at line 145 of file ALMAAperture.h.

Referenced by resetAntTypeMap().

Definition at line 137 of file ALMAAperture.h.

Referenced by destroyAntResp().

Definition at line 144 of file ALMAAperture.h.

Definition at line 142 of file ALMAAperture.h.

Definition at line 143 of file ALMAAperture.h.

Referenced by getPolMap(), and setPolMap().

Definition at line 146 of file ALMAAperture.h.


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