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

The base class to represent the Aperture-Term of the Measurement Equation. More...

#include <NoOpATerm.h>

Inheritance diagram for casa::NoOpATerm:
casa::ATerm casa::CFTerms

Public Member Functions

 NoOpATerm ()
 
virtual ~NoOpATerm ()
 
virtual casacore::String name ()
 
virtual void makeFullJones (casacore::ImageInterface< casacore::Complex > &, const VisBuffer &, casacore::Bool, casacore::Int &, casacore::Double)
 
virtual void applySky (casacore::ImageInterface< casacore::Float > &, const VisBuffer &, const casacore::Bool, const casacore::Int &, const casacore::Int &, const casacore::Double)
 
virtual void applySky (casacore::ImageInterface< casacore::Complex > &, const VisBuffer &, const casacore::Bool, const casacore::Int &, const casacore::Int &, const casacore::Double)
 
virtual void applySky (casacore::ImageInterface< casacore::Complex > &, const casacore::Double &, const casacore::Bool, const casacore::Int &, const casacore::Int &, const casacore::Double)
 
casacore::Int getBandID (const casacore::Double &, const casacore::String &, const casacore::String &)
 
void cacheVBInfo (const casacore::String &, const casacore::Float &)
 
void cacheVBInfo (const VisBuffer &)
 
virtual void normalizeImage (casacore::Lattice< casacore::Complex > &, const casacore::Matrix< casacore::Float > &)
 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 int getVisParams (const VisBuffer &, const casacore::CoordinateSystem &)
 
virtual void rotate (const VisBuffer &, CFCell &, const casacore::Double &)
 virtual void rotate(const VisBuffer& vb, CFStore2& cfs)=0; More...
 
virtual void rotate2 (const VisBuffer &, CFCell &, CFCell &, const casacore::Double &)
 
virtual casacore::Bool isNoOp ()
 As the name indicates, this class should always return true. More...
 
virtual casacore::Float getSupportThreshold ()
 Method used in the framework for other CFTerms as well. More...
 
virtual void setPolMap (const casacore::Vector< casacore::Int > &polMap)
 virtual casacore::Int mapAntIDToAntType(const casacore::Int& /*ant More...
 
virtual void getPolMap (casacore::Vector< casacore::Int > &polMap)
 
virtual casacore::Vector
< casacore::Int
getAntTypeList ()
 
*virtual casacore::Bool rotationallySymmetric ()
 
- Public Member Functions inherited from casa::ATerm
 ATerm ()
 
virtual ~ATerm ()
 
virtual 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...
 
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 VisBuffer &vb, casacore::Int &nUnique)
 Not sure if the following method is requried. More...
 
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::Int mapAntIDToAntType (const casacore::Int &)
 
casacore::String getTelescopeName ()
 
- Public Member Functions inherited from casa::CFTerms
 CFTerms ()
 
virtual ~CFTerms ()
 
virtual void setOpCode (OpCodes code)
 

Additional Inherited Members

- Public Types inherited from casa::CFTerms
enum  OpCodes {
  NOOP,
  NORMAL
}
 
- Protected Member Functions inherited from casa::ATerm
casacore::LogIOlogIO ()
 
- Protected Member Functions inherited from casa::CFTerms
casacore::LogIOlogIO ()
 
- 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

The base class to represent the Aperture-Term of the Measurement Equation.

Intended use:

Public interface

Etymology

A NoOp A-Term which does nothing but keeps the framework unchanged. Used when no A-term corrections are required.

Synopsis

Definition at line 58 of file NoOpATerm.h.

Constructor & Destructor Documentation

casa::NoOpATerm::NoOpATerm ( )
inline

Definition at line 61 of file NoOpATerm.h.

virtual casa::NoOpATerm::~NoOpATerm ( )
inlinevirtual

Definition at line 62 of file NoOpATerm.h.

Member Function Documentation

virtual void casa::NoOpATerm::applySky ( casacore::ImageInterface< casacore::Float > &  ,
const VisBuffer ,
const casacore::Bool  ,
const casacore::Int ,
const casacore::Int ,
const casacore::Double   
)
inlinevirtual

Implements casa::ATerm.

Definition at line 74 of file NoOpATerm.h.

virtual void casa::NoOpATerm::applySky ( casacore::ImageInterface< casacore::Complex > &  ,
const VisBuffer ,
const casacore::Bool  ,
const casacore::Int ,
const casacore::Int ,
const casacore::Double   
)
inlinevirtual

Implements casa::ATerm.

Definition at line 82 of file NoOpATerm.h.

virtual void casa::NoOpATerm::applySky ( casacore::ImageInterface< casacore::Complex > &  ,
const casacore::Double ,
const casacore::Bool  ,
const casacore::Int ,
const casacore::Int ,
const casacore::Double   
)
inlinevirtual

Implements casa::ATerm.

Definition at line 91 of file NoOpATerm.h.

void casa::NoOpATerm::cacheVBInfo ( const casacore::String ,
const casacore::Float  
)
inlinevirtual

Implements casa::ATerm.

Definition at line 106 of file NoOpATerm.h.

void casa::NoOpATerm::cacheVBInfo ( const VisBuffer )
inlinevirtual

Implements casa::ATerm.

Definition at line 107 of file NoOpATerm.h.

virtual casacore::Vector<casacore::Int> casa::NoOpATerm::getAntTypeList ( )
inlinevirtual

Reimplemented from casa::ATerm.

Definition at line 155 of file NoOpATerm.h.

casacore::Int casa::NoOpATerm::getBandID ( const casacore::Double ,
const casacore::String ,
const casacore::String  
)
inlinevirtual

Implements casa::ATerm.

Definition at line 100 of file NoOpATerm.h.

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

Reimplemented from casa::ATerm.

Definition at line 154 of file NoOpATerm.h.

virtual casacore::Float casa::NoOpATerm::getSupportThreshold ( )
inlinevirtual

Method used in the framework for other CFTerms as well.

These are now all in the base class.

virtual casacore::Int getConvSize() {}; virtual casacore::Vector<casacore::Int> vbRow2CFKeyMap(const VisBuffer& vb, casacore::Int& nUnique) {casacore::Vector<casacore::Int> tmp; tmp.resize(vb.nRow()); tmp=0; nUnique=1; return tmp;}

virtual 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) {throw(casacore::AipsError("NoOpATerm::makePBPolnCoords() called"));};

virtual casacore::Float getConvWeightSizeFactor() {return 1.0;}; virtual casacore::Int getOversampling() {return 20;};

Reimplemented from casa::ATerm.

Definition at line 151 of file NoOpATerm.h.

References casacore::C::e.

virtual int casa::NoOpATerm::getVisParams ( const VisBuffer ,
const casacore::CoordinateSystem  
)
inlinevirtual

Implements casa::ATerm.

Definition at line 114 of file NoOpATerm.h.

virtual casacore::Bool casa::NoOpATerm::isNoOp ( )
inlinevirtual

As the name indicates, this class should always return true.

Reimplemented from casa::CFTerms.

Definition at line 133 of file NoOpATerm.h.

virtual void casa::NoOpATerm::makeFullJones ( casacore::ImageInterface< casacore::Complex > &  ,
const VisBuffer ,
casacore::Bool  ,
casacore::Int ,
casacore::Double   
)
inlinevirtual

Implements casa::ATerm.

Definition at line 66 of file NoOpATerm.h.

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

Implements casa::ATerm.

Definition at line 64 of file NoOpATerm.h.

virtual void casa::NoOpATerm::normalizeImage ( casacore::Lattice< casacore::Complex > &  skyImage,
const casacore::Matrix< casacore::Float > &  weights 
)
inlinevirtual

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;

Reimplemented from casa::ATerm.

Definition at line 109 of file NoOpATerm.h.

virtual void casa::NoOpATerm::rotate ( const VisBuffer vb,
CFCell cfc,
const casacore::Double rotAngleIncrement 
)
inlinevirtual

virtual void rotate(const VisBuffer& vb, CFStore2& cfs)=0;

Implements casa::ATerm.

Definition at line 119 of file NoOpATerm.h.

virtual void casa::NoOpATerm::rotate2 ( const VisBuffer ,
CFCell ,
CFCell ,
const casacore::Double  
)
inlinevirtual

Implements casa::ATerm.

Definition at line 124 of file NoOpATerm.h.

* virtual casacore::Bool casa::NoOpATerm::rotationallySymmetric ( )
inlinevirtual

Reimplemented from casa::ATerm.

Definition at line 156 of file NoOpATerm.h.

virtual void casa::NoOpATerm::setPolMap ( const casacore::Vector< casacore::Int > &  polMap)
inlinevirtual

virtual casacore::Int mapAntIDToAntType(const casacore::Int& /*ant

Reimplemented from casa::ATerm.

Definition at line 153 of file NoOpATerm.h.


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