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::EVLAAperture Class Reference

class EVLAAperture : public ATerm More...

#include <EVLAAperture.h>

Inheritance diagram for casa::EVLAAperture:
casa::AzElAperture casa::ATerm casa::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 VisBuffer &vb, casacore::Bool doSquint, casacore::Int &bandID, casacore::Double freqVal)
 
virtual void applySky (casacore::ImageInterface< casacore::Float > &outputImages, const VisBuffer &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 VisBuffer &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 VisBuffer &vb)
 
casacore::Int getBandID (const casacore::Double &freq, const casacore::String &telescopeName, const casacore::String &bandName)
 
virtual casacore::Vector
< casacore::Int
vbRow2CFKeyMap (const VisBuffer &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::AzElAperture
 AzElAperture ()
 
 ~AzElAperture ()
 
virtual void rotate (const VisBuffer &vb, CFCell &cfc, const casacore::Double &rotAngleIncrement=5.0)
 virtual void rotate(const VisBuffer& vb, CFStore2& cfs)=0; More...
 
virtual void rotate2 (const VisBuffer &vb, CFCell &baseCFC, CFCell &cfc, const casacore::Double &rotAngleIncrement=5.0)
 
- Public Member Functions inherited from casa::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 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 VisBuffer& 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::CFTerms
 CFTerms ()
 
virtual ~CFTerms ()
 
virtual void setOpCode (OpCodes code)
 
virtual casacore::Bool isNoOp ()
 

Protected Member Functions

int getVisParams (const VisBuffer &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 VisBuffer &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::ATerm
casacore::LogIOlogIO ()
 
- Protected Member Functions inherited from casa::CFTerms
casacore::LogIOlogIO ()
 

Private Attributes

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

Additional Inherited Members

- Public Types inherited from casa::CFTerms
enum  OpCodes {
  NOOP,
  NORMAL
}
 
- Protected Attributes inherited from casa::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
 
casacore::String telescopeName_p
 
- Protected Attributes inherited from casa::CFTerms
casacore::LogIO logIO_p
 
casacore::Vector< casacore::IntpolMap_p_base
 
OpCodes opCode_p
 

Detailed Description

class EVLAAperture : public ATerm

Definition at line 48 of file EVLAAperture.h.

Constructor & Destructor Documentation

casa::EVLAAperture::EVLAAperture ( )
inline

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

Definition at line 52 of file EVLAAperture.h.

casa::EVLAAperture::~EVLAAperture ( )
inline

Definition at line 53 of file EVLAAperture.h.

Member Function Documentation

virtual void casa::EVLAAperture::applySky ( casacore::ImageInterface< casacore::Float > &  outputImages,
const VisBuffer 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::ATerm.

virtual void casa::EVLAAperture::applySky ( casacore::ImageInterface< casacore::Complex > &  outputImages,
const VisBuffer 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::ATerm.

virtual void casa::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::ATerm.

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

Implements casa::ATerm.

void casa::EVLAAperture::cacheVBInfo ( const VisBuffer vb)
virtual

Implements casa::ATerm.

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

Implements casa::ATerm.

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

Reimplemented from casa::ATerm.

Definition at line 91 of file EVLAAperture.h.

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

int casa::EVLAAperture::getVisParams ( const VisBuffer 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::ATerm.

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

Implements casa::ATerm.

casacore::Int casa::EVLAAperture::makePBPolnCoords ( const VisBuffer 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.

Reimplemented from casa::ATerm.

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

Overload these functions.

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

Implements casa::ATerm.

Definition at line 58 of file EVLAAperture.h.

EVLAAperture& casa::EVLAAperture::operator= ( const EVLAAperture other)
virtual casacore::Vector<casacore::Int> casa::EVLAAperture::vbRow2CFKeyMap ( const VisBuffer 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::ATerm.

Definition at line 88 of file EVLAAperture.h.

References casa::VisBuffer::nRow(), and casacore::Vector< T >::resize().

Member Data Documentation

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

Definition at line 112 of file EVLAAperture.h.

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

Definition at line 111 of file EVLAAperture.h.

Referenced by getPolMap().


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