29 #ifndef SYNTHESIS_TRANSFORM2_ATERM_H
30 #define SYNTHESIS_TRANSFORM2_ATERM_H
43 #define CONVSIZE (1024*2)
44 #define CONVWTSIZEFACTOR 1
45 #define OVERSAMPLING 20
46 #define THRESHOLD 1E-4
126 return makePBPolnCoords(vb.
correlationTypes(), convSize, convSampling, skyCoord,
127 skyNx, skyNy, feedCoord);
179 (void)skyImage;(void)weights;
180 throw(
casacore::AipsError(
"Make ATerm::normalizeImage() pure virtual and implement in specializations"));
183 virtual void cacheVBInfo(
const VisBuffer2& vb) = 0;
virtual void getPolMap(casacore::Vector< casacore::Int > &polMap)
virtual casacore::Float getConvWeightSizeFactor()
{ casacore::Int defaultOverSampling=OVERSAMPLING; char *envStr; if ((envStr = getenv("OVERSAMPLING"))...
virtual casacore::Vector< casacore::Int > vbRow2CFKeyMap(const VisBuffer2 &vb, casacore::Int &nUnique)
Not sure if the following method is requried.
virtual casacore::Int mapAntIDToAntType(const casacore::Int &)
casacore::Int cachedOverSampling_p
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.
virtual casacore::Int getConvSize()
ostream-like interface to creating log messages.
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
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) ...
virtual casacore::Vector< casacore::Int > getAntTypeList()
LatticeExprNode pa(const LatticeExprNode &left, const LatticeExprNode &right)
This function finds 180/pi*atan2(left,right)/2.
virtual const casacore::Vector< casacore::Int > & correlationTypes() const =0
Returns the correlation type of each correlation in the VisCube.
virtual casacore::Int nRows() const =0
Returns the number of rows in this VisBuffer.
virtual casacore::Float getSupportThreshold()
virtual casacore::Bool rotationallySymmetric()
bool Bool
Define the standard types used by Casacore.
The base class to represent the Aperture-Term of the Measurement Equation.
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; };
virtual void setConvSize(const casacore::Int convSize)
The base class to represent the Aperture-Term of the Measurement Equation.
casacore::Vector< casacore::Int > polMap_p_base
VisBuffer2s encapsulate one chunk of visibility data for processing.
casacore::LogIO & logIO()
virtual void setPolMap(const casacore::Vector< casacore::Int > &polMap)
The mapping from VisBuffer polarizations map to the Image plane polarization.
Base class for all Casacore library errors.
casacore::String getTelescopeName()
template <class t>="">
String: the storage and methods of handling collections of characters.
void resize(size_t len, Bool copyValues=False)
void rotate2(const double &actualPA, CFCell &baseCFC, CFCell &cfc, const double &rotAngleIncr)
Interconvert pixel and world coordinates.