29 #ifndef SYNTHESIS_ATERM_H
30 #define SYNTHESIS_ATERM_H
43 #define CONVSIZE (1024*2)
44 #define CONVWTSIZEFACTOR 1
45 #define OVERSAMPLING 20
46 #define THRESHOLD 1E-4
124 skyNx, skyNy, feedCoord);
174 (void)skyImage;(void)weights;
175 throw(
casacore::AipsError(
"Make ATerm::normalizeImage() pure virtual and implement in specializations"));
virtual casacore::Int mapAntIDToAntType(const casacore::Int &)
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)=0
virtual casacore::Float getConvWeightSizeFactor()
{ casacore::Int defaultOverSampling=OVERSAMPLING; char *envStr; if ((envStr = getenv("OVERSAMPLING"))...
virtual casacore::Vector< casacore::Int > getAntTypeList()
virtual void rotate(const VisBuffer &vb, CFCell &cfc, const casacore::Double &rotAngleIncrement=5.0)=0
virtual void rotate(const VisBuffer& vb, CFStore2& cfs)=0;
virtual casacore::Float getSupportThreshold()
virtual casacore::Int getBandID(const casacore::Double &freq, const casacore::String &telescopeName, const casacore::String &bandName)=0
virtual casacore::String name()=0
The base class to represent the Aperture-Term of the Measurement Equation.
virtual casacore::Int & nRow()
virtual casacore::Int & nCat() { return nCatOK_p ? nCat_p : fillnCat(); } virtual casacore::Int nCat(...
virtual int getVisParams(const VisBuffer &vb, const casacore::CoordinateSystem &skyCoord=casacore::CoordinateSystem())=0
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.
casacore::String telescopeName_p
ostream-like interface to creating log messages.
virtual void setPolMap(const casacore::Vector< casacore::Int > &polMap)
The mapping from VisBuffer polarizations map to the Image plane polarization.
virtual casacore::Vector< casacore::Int > vbRow2CFKeyMap(const VisBuffer &vb, casacore::Int &nUnique)
Not sure if the following method is requried.
casacore::LogIO & logIO()
LatticeExprNode pa(const LatticeExprNode &left, const LatticeExprNode &right)
This function finds 180/pi*atan2(left,right)/2.
casacore::Vector< casacore::Int > polMap_p_base
casacore::Int cachedOverSampling_p
bool Bool
Define the standard types used by Casacore.
casacore::Float Diameter_p
casacore::Int cachedConvSize_p
virtual casacore::Vector< casacore::Int > & corrType()
virtual casacore::Int getConvSize()
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) =...
virtual void rotate2(const VisBuffer &vb, CFCell &baseCFS, CFCell &cfc, const casacore::Double &rotAngleIncrement=5.0)=0
virtual void getPolMap(casacore::Vector< casacore::Int > &polMap)
Base class for all Casacore library errors.
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; };
The base class to represent the Aperture-Term of the Measurement Equation.
template <class t>="">
String: the storage and methods of handling collections of characters.
VisBuffers encapsulate one chunk of visibility data for processing.
virtual void makeFullJones(casacore::ImageInterface< casacore::Complex > &pbImage, const VisBuffer &vb, casacore::Bool doSquint, casacore::Int &bandID, casacore::Double freqVal)=0
virtual void cacheVBInfo(const VisBuffer &vb)=0
void resize(size_t len, Bool copyValues=False)
Interconvert pixel and world coordinates.
casacore::String getTelescopeName()
virtual casacore::Bool rotationallySymmetric()