casa
5.7.0-16
|
The base class to represent the Aperture-Term of the Measurement Equation. More...
#include <ATerm.h>
Public Member Functions | |
ATerm () | |
virtual | ~ATerm () |
virtual casacore::String | name ()=0 |
virtual void | makeFullJones (casacore::ImageInterface< casacore::Complex > &pbImage, const VisBuffer2 &vb, casacore::Bool doSquint, casacore::Int &bandID, casacore::Double freqVal)=0 |
virtual void | applySky (casacore::ImageInterface< casacore::Float > &outputImages, const VisBuffer2 &vb, const casacore::Bool doSquint=true, const casacore::Int &cfKey=0, const casacore::Int &muellerTerm=0, const casacore::Double freqVal=-1.0)=0 |
virtual void | applySky (casacore::ImageInterface< casacore::Complex > &outputImages, const VisBuffer2 &vb, const casacore::Bool doSquint=true, const casacore::Int &cfKey=0, const casacore::Int &muellerTerm=0, const casacore::Double freqVal=-1.0)=0 |
virtual void | applySky (casacore::ImageInterface< casacore::Complex > &outImages, const casacore::Double &pa, const casacore::Bool doSquint, const casacore::Int &cfKey, const casacore::Int &muellerTerm, const casacore::Double freqVal)=0 |
virtual casacore::Int | makePBPolnCoords (const VisBuffer2 &vb, const casacore::Int &convSize, const casacore::Int &convSampling, const casacore::CoordinateSystem &skyCoord, const casacore::Int &skyNx, const casacore::Int &skyNy, casacore::CoordinateSystem &feedCoord) |
Not sure if the following method is requried. More... | |
virtual casacore::Int | makePBPolnCoords (const casacore::Vector< casacore::Int > &vbCorrTypes, const casacore::Int &convSize, const casacore::Int &convSampling, const casacore::CoordinateSystem &skyCoord, const casacore::Int &skyNx, const casacore::Int &skyNy, casacore::CoordinateSystem &feedCoord) |
virtual casacore::Vector < casacore::Int > | vbRow2CFKeyMap (const VisBuffer2 &vb, casacore::Int &nUnique) |
Not sure if the following method is requried. More... | |
virtual void | getPolMap (casacore::Vector< casacore::Int > &polMap) |
virtual casacore::Vector < casacore::Int > | getAntTypeList () |
virtual void | setConvSize (const casacore::Int convSize) |
virtual casacore::Int | getConvSize () |
virtual casacore::Int | getOversampling () |
{ casacore::Int defaultConvSize=CONVSIZE; defaultConvSize= SynthesisUtils::getenv("CONVSIZE",CONVSIZE); if (envStr != "") { sscanf(envStr.c_str,"%d",&defaultConvSize); cerr << "ConvFuncSize set to " << defaultConvSize << endl; } return defaultConvSize; }; More... | |
virtual casacore::Float | getConvWeightSizeFactor () |
{ casacore::Int defaultOverSampling=OVERSAMPLING; char *envStr; if ((envStr = getenv("OVERSAMPLING")) != NULL) { sscanf(envStr,"%d",&defaultOverSampling); cerr << "Oversampling set to " << defaultOverSampling << endl; } return defaultOverSampling; } More... | |
virtual casacore::Float | getSupportThreshold () |
virtual void | normalizeImage (casacore::Lattice< casacore::Complex > &skyImage, const casacore::Matrix< casacore::Float > &weights) |
virtual casacore::Vector<casacore::Int> vbRow2CFKeyMap(const VisBuffer2& vb, casacore::Int& nUnique) = 0; virtual casacore::Int getConvSize() = 0; virtual casacore::Int getOversampling() = 0; virtual casacore::Float getConvWeightSizeFactor() = 0; virtual casacore::Float getSupportThreshold() = 0; More... | |
virtual void | cacheVBInfo (const VisBuffer2 &vb)=0 |
virtual void | cacheVBInfo (const casacore::String &telescopeName, const casacore::Float &diameter)=0 |
virtual casacore::Int | getBandID (const casacore::Double &freq, const casacore::String &telescopeName, const casacore::String &bandName)=0 |
virtual int | getVisParams (const VisBuffer2 &vb, const casacore::CoordinateSystem &skyCoord=casacore::CoordinateSystem())=0 |
virtual void | setPolMap (const casacore::Vector< casacore::Int > &polMap) |
The mapping from VisBuffer polarizations map to the Image plane polarization. More... | |
virtual void | rotate (const VisBuffer2 &vb, CFCell &cfc, const casacore::Double &rotAngleIncrement=5.0)=0 |
virtual void rotate(const VisBuffer2& vb, CFStore2& cfs)=0; More... | |
virtual void | rotate2 (const VisBuffer2 &vb, CFCell &baseCFS, CFCell &cfc, const casacore::Double &rotAngleIncrement=5.0)=0 |
virtual casacore::Int | mapAntIDToAntType (const casacore::Int &) |
casacore::String | getTelescopeName () |
virtual casacore::Bool | rotationallySymmetric () |
Public Member Functions inherited from casa::refim::CFTerms | |
CFTerms () | |
virtual | ~CFTerms () |
virtual void | setOpCode (OpCodes code) |
virtual casacore::Bool | isNoOp () |
void | setBandName (const casacore::String &bandName) |
casacore::String & | getBandName () |
Protected Member Functions | |
casacore::LogIO & | logIO () |
Protected Member Functions inherited from casa::refim::CFTerms | |
casacore::LogIO & | logIO () |
Additional Inherited Members | |
Public Types inherited from casa::refim::CFTerms | |
enum | OpCodes { NOOP, NORMAL } |
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::refim::ATerm::ATerm | ( | ) |
|
pure virtual |
Implements casa::refim::CFTerms.
Implemented in casa::refim::NoOpATerm, and casa::refim::EVLAAperture.
|
pure virtual |
Implements casa::refim::CFTerms.
Implemented in casa::refim::NoOpATerm, and casa::refim::EVLAAperture.
|
pure virtual |
Implemented in casa::refim::NoOpATerm, and casa::refim::EVLAAperture.
|
pure virtual |
Implemented in casa::refim::NoOpATerm, and casa::refim::EVLAAperture.
|
pure virtual |
Implemented in casa::refim::NoOpATerm, and casa::refim::EVLAAperture.
|
inlinevirtual |
Reimplemented in casa::refim::NoOpATerm.
|
pure virtual |
Implemented in casa::refim::NoOpATerm, and casa::refim::EVLAAperture.
|
inlinevirtual |
Implements casa::refim::CFTerms.
|
inlinevirtual |
{ casacore::Int defaultOverSampling=OVERSAMPLING; char *envStr; if ((envStr = getenv("OVERSAMPLING")) != NULL) { sscanf(envStr,"%d",&defaultOverSampling); cerr << "Oversampling set to " << defaultOverSampling << endl; } return defaultOverSampling; }
Implements casa::refim::CFTerms.
Definition at line 167 of file ATerm.h.
References CONVWTSIZEFACTOR.
|
inlinevirtual |
{
casacore::Int defaultConvSize=CONVSIZE; defaultConvSize= SynthesisUtils::getenv("CONVSIZE",CONVSIZE); if (envStr != "") { sscanf(envStr.c_str,"%d",&defaultConvSize); cerr << "ConvFuncSize set to " << defaultConvSize << endl; } return defaultConvSize; };
Implements casa::refim::CFTerms.
|
inlinevirtual |
Reimplemented from casa::refim::CFTerms.
Reimplemented in casa::refim::NoOpATerm, and casa::refim::EVLAAperture.
Definition at line 140 of file ATerm.h.
References casacore::Vector< T >::resize().
|
inlinevirtual |
Implements casa::refim::CFTerms.
Reimplemented in casa::refim::NoOpATerm.
Definition at line 168 of file ATerm.h.
References THRESHOLD.
|
inline |
|
pure virtual |
Implements casa::refim::CFTerms.
Implemented in casa::refim::NoOpATerm, and casa::refim::EVLAAperture.
|
inlineprotected |
|
pure virtual |
Implemented in casa::refim::NoOpATerm, and casa::refim::EVLAAperture.
|
inlinevirtual |
Not sure if the following method is requried.
Leaving it in the code for now with an implementation that does nothing.
virtual void applySky(casacore::Matrix<casacore::Complex>& screen, const casacore::Int wPixel, const casacore::Vector<casacore::Double>& sampling, const casacore::Int wConvSize, const casacore::Double wScale, const casacore::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,
Implements casa::refim::CFTerms.
Reimplemented in casa::refim::EVLAAperture.
Definition at line 118 of file ATerm.h.
References casa::vi::VisBuffer2::correlationTypes().
|
virtual |
|
inlinevirtual |
|
pure virtual |
Implements casa::refim::CFTerms.
Implemented in casa::refim::NoOpATerm, and casa::refim::EVLAAperture.
|
inlinevirtual |
virtual casacore::Vector<casacore::Int> vbRow2CFKeyMap(const VisBuffer2& vb, casacore::Int& nUnique) = 0; virtual casacore::Int getConvSize() = 0; virtual casacore::Int getOversampling() = 0; virtual casacore::Float getConvWeightSizeFactor() = 0; virtual casacore::Float getSupportThreshold() = 0;
Implements casa::refim::CFTerms.
Reimplemented in casa::refim::NoOpATerm.
|
pure virtual |
virtual void rotate(const VisBuffer2& vb, CFStore2& cfs)=0;
Implemented in casa::refim::NoOpATerm, and casa::refim::AzElAperture.
|
pure virtual |
Implemented in casa::refim::NoOpATerm, and casa::refim::AzElAperture.
|
inlinevirtual |
Implements casa::refim::CFTerms.
Reimplemented in casa::refim::NoOpATerm.
|
inlinevirtual |
Implements casa::refim::CFTerms.
|
inlinevirtual |
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::refim::CFTerms.
Reimplemented in casa::refim::NoOpATerm.
|
inlinevirtual |
Not sure if the following method is requried.
Leaving it in the code for now with an implementation that does nothing.
virtual void applySky(casacore::Matrix<casacore::Complex>& screen, const casacore::Int wPixel, const casacore::Vector<casacore::Double>& sampling, const casacore::Int wConvSize, const casacore::Double wScale, const casacore::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::refim::CFTerms.
Reimplemented in casa::refim::EVLAAperture.
Definition at line 137 of file ATerm.h.
References casa::vi::VisBuffer2::nRows(), and casacore::Vector< T >::resize().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |