#include <EVLAAperture.h>
Public Member Functions | |
EVLAAperture () | |
EVLAAperture(): ATerm(), polMap_p(), feedStokes_p() {};. | |
~EVLAAperture () | |
EVLAAperture & | operator= (const EVLAAperture &other) |
virtual String | name () |
Overload these functions. | |
virtual void | makeFullJones (ImageInterface< Complex > &pbImage, const VisBuffer2 &vb, Bool doSquint, Int &bandID, Double freqVal) |
virtual void | applySky (ImageInterface< Float > &outputImages, const VisBuffer2 &vb, const Bool doSquint=True, const Int &cfKey=0, const Int &muellerTerm=0, const Double freqVal=-1.0) |
virtual void | applySky (ImageInterface< Complex > &outputImages, const VisBuffer2 &vb, const Bool doSquint=True, const Int &cfKey=0, const Int &muellerTerm=0, const Double freqVal=-1.0) |
virtual void | applySky (ImageInterface< Complex > &outImages, const Double &pa, const Bool doSquint, const Int &cfKey, const Int &muellerTerm, const Double freqVal=-1.0) |
void | cacheVBInfo (const String &telescopeName, const Float &diameter) |
void | cacheVBInfo (const VisBuffer2 &vb) |
Int | getBandID (const Double &freq, const String &telescopeName) |
virtual Vector< Int > | vbRow2CFKeyMap (const VisBuffer2 &vb, Int &nUnique) |
Not sure if the following method is requried. | |
virtual void | getPolMap (Vector< Int > &polMap) |
Protected Member Functions | |
int | getVisParams (const VisBuffer2 &vb, const CoordinateSystem &skyCoord=CoordinateSystem()) |
For this class, these will be served from the base classs (ATerm.h) virtual Int getConvSize() {return CONVSIZE;}; virtual Int getOversampling() {return OVERSAMPLING;} virtual Float getConvWeightSizeFactor() {return CONVWTSIZEFACTOR;}; virtual Float getSupportThreshold() {return THRESHOLD;};. | |
Bool | findSupport (Array< Complex > &func, Float &threshold, Int &origin, Int &R) |
Int | getVLABandID (Double &freq, String &telescopeName, const CoordinateSystem &skyCoord=CoordinateSystem()) |
Int | makePBPolnCoords (const VisBuffer2 &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. | |
Private Attributes | |
Vector< Int > | polMap_p |
Vector< Int > | feedStokes_p |
Definition at line 47 of file EVLAAperture.h.
casa::refim::EVLAAperture::EVLAAperture | ( | ) | [inline] |
EVLAAperture(): ATerm(), polMap_p(), feedStokes_p() {};.
Definition at line 51 of file EVLAAperture.h.
casa::refim::EVLAAperture::~EVLAAperture | ( | ) | [inline] |
Definition at line 52 of file EVLAAperture.h.
virtual void casa::refim::EVLAAperture::applySky | ( | ImageInterface< Complex > & | outImages, | |
const Double & | pa, | |||
const Bool | doSquint, | |||
const Int & | cfKey, | |||
const Int & | muellerTerm, | |||
const Double | freqVal = -1.0 | |||
) | [virtual] |
Implements casa::refim::ATerm.
virtual void casa::refim::EVLAAperture::applySky | ( | ImageInterface< Complex > & | outputImages, | |
const VisBuffer2 & | vb, | |||
const Bool | doSquint = True , |
|||
const Int & | cfKey = 0 , |
|||
const Int & | muellerTerm = 0 , |
|||
const Double | freqVal = -1.0 | |||
) | [virtual] |
Implements casa::refim::ATerm.
virtual void casa::refim::EVLAAperture::applySky | ( | ImageInterface< Float > & | outputImages, | |
const VisBuffer2 & | vb, | |||
const Bool | doSquint = True , |
|||
const Int & | cfKey = 0 , |
|||
const Int & | muellerTerm = 0 , |
|||
const Double | freqVal = -1.0 | |||
) | [virtual] |
Implements casa::refim::ATerm.
void casa::refim::EVLAAperture::cacheVBInfo | ( | const VisBuffer2 & | vb | ) | [virtual] |
Implements casa::refim::ATerm.
void casa::refim::EVLAAperture::cacheVBInfo | ( | const String & | telescopeName, | |
const Float & | diameter | |||
) | [virtual] |
Implements casa::refim::ATerm.
Bool casa::refim::EVLAAperture::findSupport | ( | Array< Complex > & | func, | |
Float & | threshold, | |||
Int & | origin, | |||
Int & | R | |||
) | [protected] |
Int casa::refim::EVLAAperture::getBandID | ( | const Double & | freq, | |
const String & | telescopeName | |||
) | [virtual] |
Implements casa::refim::ATerm.
virtual void casa::refim::EVLAAperture::getPolMap | ( | Vector< Int > & | polMap | ) | [inline, virtual] |
Reimplemented from casa::refim::ATerm.
Definition at line 89 of file EVLAAperture.h.
References polMap_p.
int casa::refim::EVLAAperture::getVisParams | ( | const VisBuffer2 & | vb, | |
const CoordinateSystem & | skyCoord = CoordinateSystem() | |||
) | [protected, virtual] |
For this class, these will be served from the base classs (ATerm.h) virtual Int getConvSize() {return CONVSIZE;}; virtual Int getOversampling() {return OVERSAMPLING;} virtual Float getConvWeightSizeFactor() {return CONVWTSIZEFACTOR;}; virtual Float getSupportThreshold() {return THRESHOLD;};.
Implements casa::refim::ATerm.
Int casa::refim::EVLAAperture::getVLABandID | ( | Double & | freq, | |
String & | telescopeName, | |||
const CoordinateSystem & | skyCoord = CoordinateSystem() | |||
) | [protected] |
virtual void casa::refim::EVLAAperture::makeFullJones | ( | ImageInterface< Complex > & | pbImage, | |
const VisBuffer2 & | vb, | |||
Bool | doSquint, | |||
Int & | bandID, | |||
Double | freqVal | |||
) | [virtual] |
Implements casa::refim::ATerm.
Int casa::refim::EVLAAperture::makePBPolnCoords | ( | const VisBuffer2 & | vb, | |
const Int & | convSize, | |||
const Int & | convSampling, | |||
const CoordinateSystem & | skyCoord, | |||
const Int & | skyNx, | |||
const Int & | skyNy, | |||
CoordinateSystem & | feedCoord | |||
) | [protected, 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.
return makePBPolnCoords(vb.corrType(), convSize, convSampling, skyCoord,
Reimplemented from casa::refim::ATerm.
virtual String casa::refim::EVLAAperture::name | ( | ) | [inline, virtual] |
Overload these functions.
They are pure virtual in the base class (ATerm).
Implements casa::refim::ATerm.
Definition at line 57 of file EVLAAperture.h.
References String.
EVLAAperture& casa::refim::EVLAAperture::operator= | ( | const EVLAAperture & | other | ) |
virtual Vector<Int> casa::refim::EVLAAperture::vbRow2CFKeyMap | ( | const VisBuffer2 & | 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.
Reimplemented from casa::refim::ATerm.
Definition at line 86 of file EVLAAperture.h.
References casa::vi::VisBuffer2::nRows().
Vector<Int> casa::refim::EVLAAperture::feedStokes_p [private] |
Definition at line 110 of file EVLAAperture.h.
Vector<Int> casa::refim::EVLAAperture::polMap_p [private] |
Definition at line 109 of file EVLAAperture.h.
Referenced by getPolMap().