casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
casa::refim::EVLAAperture Class Reference

#include <EVLAAperture.h>

Inheritance diagram for casa::refim::EVLAAperture:
casa::refim::AzElAperture casa::refim::ATerm casa::refim::CFTerms

Public Member Functions

 EVLAAperture ()
 EVLAAperture(): ATerm(), polMap_p(), feedStokes_p() {};. More...
 
 ~EVLAAperture ()
 
EVLAApertureoperator= (const EVLAAperture &other)
 
virtual casacore::String name ()
 Overload these functions. More...
 
virtual void makeFullJones (casacore::ImageInterface< casacore::Complex > &pbImage, const VisBuffer2 &vb, casacore::Bool doSquint, casacore::Int &bandID, casacore::Double freqVal)
 
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)
 
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)
 
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=-1.0)
 
void cacheVBInfo (const casacore::String &telescopeName, const casacore::Float &diameter)
 
void cacheVBInfo (const VisBuffer2 &vb)
 
casacore::Int getBandID (const casacore::Double &freq, const casacore::String &telescopeName, const casacore::String &bandName="")
 
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)
 
- Public Member Functions inherited from casa::refim::AzElAperture
 AzElAperture ()
 
 ~AzElAperture ()
 
virtual void rotate (const VisBuffer2 &vb, CFCell &cfc, const casacore::Double &rotAngleIncrement=5.0)
 virtual void rotate(const VisBuffer2& vb, CFStore2& cfs)=0; More...
 
virtual void rotate2 (const VisBuffer2 &vb, CFCell &baseCFC, CFCell &cfc, const casacore::Double &rotAngleIncrement=5.0)
 
- Public Member Functions inherited from casa::refim::ATerm
 ATerm ()
 
virtual ~ATerm ()
 
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
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 setPolMap (const casacore::Vector< casacore::Int > &polMap)
 The mapping from VisBuffer polarizations map to the Image plane polarization. More...
 
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::StringgetBandName ()
 

Protected Member Functions

int getVisParams (const VisBuffer2 &vb, const casacore::CoordinateSystem &skyCoord=casacore::CoordinateSystem())
 For this class, these will be served from the base classs (ATerm.h) virtual casacore::Int getConvSize() {return CONVSIZE;}; virtual casacore::Int getOversampling() {return OVERSAMPLING;} virtual casacore::Float getConvWeightSizeFactor() {return CONVWTSIZEFACTOR;}; virtual casacore::Float getSupportThreshold() {return THRESHOLD;};. More...
 
casacore::Bool findSupport (casacore::Array< casacore::Complex > &func, casacore::Float &threshold, casacore::Int &origin, casacore::Int &R)
 
casacore::Int getVLABandID (casacore::Double &freq, casacore::String &telescopeName, const casacore::CoordinateSystem &skyCoord=casacore::CoordinateSystem())
 
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...
 
- Protected Member Functions inherited from casa::refim::ATerm
casacore::LogIOlogIO ()
 
- Protected Member Functions inherited from casa::refim::CFTerms
casacore::LogIOlogIO ()
 

Private Attributes

casacore::Vector< casacore::IntpolMap_p
 
casacore::Vector< casacore::IntfeedStokes_p
 

Additional Inherited Members

- Public Types inherited from casa::refim::CFTerms
enum  OpCodes {
  NOOP,
  NORMAL
}
 
- Protected Attributes inherited from casa::refim::ATerm
casacore::LogIO logIO_p
 
casacore::Vector< casacore::IntpolMap_p_base
 
casacore::Int cachedOverSampling_p
 
casacore::Int cachedConvSize_p
 
casacore::Float Diameter_p
 
casacore::Float Nant_p
 
casacore::Float HPBW
 
casacore::Float sigma
 
- Protected Attributes inherited from casa::refim::CFTerms
casacore::LogIO logIO_p
 
casacore::Vector< casacore::IntpolMap_p_base
 
OpCodes opCode_p
 
casacore::String telescopeName_p
 
casacore::String bandName_p
 

Detailed Description

Definition at line 51 of file EVLAAperture.h.

Constructor & Destructor Documentation

casa::refim::EVLAAperture::EVLAAperture ( )
inline

EVLAAperture(): ATerm(), polMap_p(), feedStokes_p() {};.

Definition at line 55 of file EVLAAperture.h.

casa::refim::EVLAAperture::~EVLAAperture ( )
inline

Definition at line 56 of file EVLAAperture.h.

Member Function Documentation

virtual void casa::refim::EVLAAperture::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 
)
virtual

Implements casa::refim::ATerm.

virtual void casa::refim::EVLAAperture::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 
)
virtual

Implements casa::refim::ATerm.

virtual void casa::refim::EVLAAperture::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 = -1.0 
)
virtual

Implements casa::refim::ATerm.

void casa::refim::EVLAAperture::cacheVBInfo ( const casacore::String telescopeName,
const casacore::Float diameter 
)
virtual

Implements casa::refim::ATerm.

void casa::refim::EVLAAperture::cacheVBInfo ( const VisBuffer2 vb)
virtual

Implements casa::refim::ATerm.

casacore::Bool casa::refim::EVLAAperture::findSupport ( casacore::Array< casacore::Complex > &  func,
casacore::Float threshold,
casacore::Int origin,
casacore::Int R 
)
protected
casacore::Int casa::refim::EVLAAperture::getBandID ( const casacore::Double freq,
const casacore::String telescopeName,
const casacore::String bandName = "" 
)
virtual

Implements casa::refim::ATerm.

virtual void casa::refim::EVLAAperture::getPolMap ( casacore::Vector< casacore::Int > &  polMap)
inlinevirtual

Reimplemented from casa::refim::ATerm.

Definition at line 93 of file EVLAAperture.h.

References polMap_p, and casacore::Vector< T >::resize().

int casa::refim::EVLAAperture::getVisParams ( const VisBuffer2 vb,
const casacore::CoordinateSystem skyCoord = casacore::CoordinateSystem() 
)
protectedvirtual

For this class, these will be served from the base classs (ATerm.h) virtual casacore::Int getConvSize() {return CONVSIZE;}; virtual casacore::Int getOversampling() {return OVERSAMPLING;} virtual casacore::Float getConvWeightSizeFactor() {return CONVWTSIZEFACTOR;}; virtual casacore::Float getSupportThreshold() {return THRESHOLD;};.

Implements casa::refim::ATerm.

casacore::Int casa::refim::EVLAAperture::getVLABandID ( casacore::Double freq,
casacore::String telescopeName,
const casacore::CoordinateSystem skyCoord = casacore::CoordinateSystem() 
)
protected
virtual void casa::refim::EVLAAperture::makeFullJones ( casacore::ImageInterface< casacore::Complex > &  pbImage,
const VisBuffer2 vb,
casacore::Bool  doSquint,
casacore::Int bandID,
casacore::Double  freqVal 
)
virtual

Implements casa::refim::ATerm.

casacore::Int casa::refim::EVLAAperture::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 
)
protectedvirtual

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,

Reimplemented from casa::refim::ATerm.

virtual casacore::String casa::refim::EVLAAperture::name ( )
inlinevirtual

Overload these functions.

They are pure virtual in the base class (ATerm).

Implements casa::refim::ATerm.

Definition at line 61 of file EVLAAperture.h.

EVLAAperture& casa::refim::EVLAAperture::operator= ( const EVLAAperture other)
virtual casacore::Vector<casacore::Int> casa::refim::EVLAAperture::vbRow2CFKeyMap ( const VisBuffer2 vb,
casacore::Int nUnique 
)
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.

Reimplemented from casa::refim::ATerm.

Definition at line 90 of file EVLAAperture.h.

References casa::vi::VisBuffer2::nRows(), and casacore::Vector< T >::resize().

Member Data Documentation

casacore::Vector<casacore::Int> casa::refim::EVLAAperture::feedStokes_p
private

Definition at line 114 of file EVLAAperture.h.

casacore::Vector<casacore::Int> casa::refim::EVLAAperture::polMap_p
private

Definition at line 113 of file EVLAAperture.h.

Referenced by getPolMap().


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