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

#include <NoOpATerm.h>

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

Public Member Functions

 NoOpATerm ()
 
virtual ~NoOpATerm ()
 
virtual casacore::String name ()
 
virtual void makeFullJones (casacore::ImageInterface< casacore::Complex > &, const VisBuffer2 &, casacore::Bool, casacore::Int &, casacore::Double)
 
virtual void applySky (casacore::ImageInterface< casacore::Float > &, const VisBuffer2 &, const casacore::Bool, const casacore::Int &, const casacore::Int &, const casacore::Double)
 
virtual void applySky (casacore::ImageInterface< casacore::Complex > &, const VisBuffer2 &, 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 VisBuffer2 &)
 
virtual void normalizeImage (casacore::Lattice< casacore::Complex > &, const casacore::Matrix< casacore::Float > &)
 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 int getVisParams (const VisBuffer2 &, const casacore::CoordinateSystem &)
 
virtual void rotate (const VisBuffer2 &, CFCell &, const casacore::Double &)
 virtual void rotate(const VisBuffer2& vb, CFStore2& cfs)=0; More...
 
virtual void rotate2 (const VisBuffer2 &, 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)
 The mapping from VisBuffer polarizations map to the Image plane polarization. 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::refim::ATerm
 ATerm ()
 
virtual ~ATerm ()
 
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 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::Int mapAntIDToAntType (const casacore::Int &)
 
casacore::String getTelescopeName ()
 
- Public Member Functions inherited from casa::refim::CFTerms
 CFTerms ()
 
virtual ~CFTerms ()
 
virtual void setOpCode (OpCodes code)
 
void setBandName (const casacore::String &bandName)
 
casacore::StringgetBandName ()
 

Public Attributes

 return
 virtual casacore::Int mapAntIDToAntType(const casacore::Int& /*ant More...
 

Additional Inherited Members

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

Constructor & Destructor Documentation

casa::refim::NoOpATerm::NoOpATerm ( )
inline

Definition at line 62 of file NoOpATerm.h.

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

Definition at line 63 of file NoOpATerm.h.

Member Function Documentation

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

Implements casa::refim::ATerm.

Definition at line 75 of file NoOpATerm.h.

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

Implements casa::refim::ATerm.

Definition at line 83 of file NoOpATerm.h.

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

Implements casa::refim::ATerm.

Definition at line 92 of file NoOpATerm.h.

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

Implements casa::refim::ATerm.

Definition at line 107 of file NoOpATerm.h.

void casa::refim::NoOpATerm::cacheVBInfo ( const VisBuffer2 )
inlinevirtual

Implements casa::refim::ATerm.

Definition at line 108 of file NoOpATerm.h.

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

Reimplemented from casa::refim::ATerm.

Definition at line 156 of file NoOpATerm.h.

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

Implements casa::refim::ATerm.

Definition at line 101 of file NoOpATerm.h.

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

Reimplemented from casa::refim::ATerm.

Definition at line 155 of file NoOpATerm.h.

virtual casacore::Float casa::refim::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 VisBuffer2& vb, casacore::Int& nUnique) {casacore::Vector<casacore::Int> tmp; tmp.resize(vb.nRow()); tmp=0; nUnique=1; return tmp;}

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

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

Reimplemented from casa::refim::ATerm.

Definition at line 152 of file NoOpATerm.h.

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

Implements casa::refim::ATerm.

Definition at line 115 of file NoOpATerm.h.

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

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

Reimplemented from casa::refim::CFTerms.

Definition at line 134 of file NoOpATerm.h.

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

Implements casa::refim::ATerm.

Definition at line 67 of file NoOpATerm.h.

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

Implements casa::refim::ATerm.

Definition at line 65 of file NoOpATerm.h.

virtual void casa::refim::NoOpATerm::normalizeImage ( casacore::Lattice< casacore::Complex > &  skyImage,
const casacore::Matrix< casacore::Float > &  weights 
)
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;

Reimplemented from casa::refim::ATerm.

Definition at line 110 of file NoOpATerm.h.

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

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

Implements casa::refim::ATerm.

Definition at line 120 of file NoOpATerm.h.

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

Implements casa::refim::ATerm.

Definition at line 125 of file NoOpATerm.h.

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

Reimplemented from casa::refim::ATerm.

Definition at line 157 of file NoOpATerm.h.

virtual void casa::refim::NoOpATerm::setPolMap ( const casacore::Vector< casacore::Int > &  polMap)
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::ATerm.

Definition at line 154 of file NoOpATerm.h.

Member Data Documentation

casa::refim::NoOpATerm::return

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

Definition at line 152 of file NoOpATerm.h.


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