29 #ifndef SYNTHESIS_AWCONVFUNC_H
30 #define SYNTHESIS_AWCONVFUNC_H
50 template<
class T>
class Matrix;
119 {
return aTerm_p->getVisParams(vb,skyCoord);};
159 {
if (name==
"ATerm")
return aTerm_p;
else return NULL;}
casacore::Bool makeAverageResponse_org(const VisBuffer &vb, const casacore::ImageInterface< casacore::Complex > &image, casacore::ImageInterface< casacore::Float > &theavgPB, casacore::Bool reset=true)
static casacore::Complex cfArea(casacore::Matrix< casacore::Complex > &cf, const casacore::Int &xSupport, const casacore::Int &ySupport, const casacore::Float &sampling)
static void makeConjPolAxis(casacore::CoordinateSystem &cs, casacore::Int conjStokes_in=-1)
Global methods (services)
casacore::Vector< casacore::Double > pixFieldGrad_p
virtual void makeConvFunction(const casacore::ImageInterface< casacore::Complex > &image, const VisBuffer &vb, const casacore::Int wConvSize, const casacore::CountedPtr< PolOuterProduct > &pop, const casacore::Float pa, const casacore::Float dpa, const casacore::Vector< casacore::Double > &uvScale, const casacore::Vector< casacore::Double > &uvOffset, const casacore::Matrix< casacore::Double > &vbFreqSelection, CFStore2 &cfs, CFStore2 &cfwts, casacore::Bool fillCF=true)
This method computes the convolution function and the convolution function used for gridding the weig...
std::complex< Float > Complex
virtual void reset()
Overrides PlotTool::reset().
static casacore::Bool setUpCFSupport(casacore::Array< casacore::Complex > &func, casacore::Int &xSupport, casacore::Int &ySupport, const casacore::Float &sampling, const casacore::Complex &peak)
static casacore::Bool awFindSupport(casacore::Array< casacore::Complex > &func, casacore::Float &threshold, casacore::Int &origin, casacore::Int &radius)
virtual void setMiscInfo(const casacore::RecordInterface ¶ms)
virtual casacore::Bool makeAverageResponse(const VisBuffer &vb, const casacore::ImageInterface< casacore::Complex > &image, casacore::ImageInterface< casacore::Float > &theavgPB, casacore::Bool reset=true)
This method computes the average response function.
virtual casacore::Bool findSupport(casacore::Array< casacore::Complex > &func, casacore::Float &threshold, casacore::Int &origin, casacore::Int &R)
virtual void setFeedStokes(const casacore::Vector<casacore::Int>& feedStokes) {aTerm_p->setFeedStokes...
casacore::CountedPtr< PSTerm > psTerm_p
A 2-D Specialization of the Array class.
The base class to compute convolution functions for convolutional gridding.
casacore::Int mapAntIDToAntType(const casacore::Int &ant)
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
casacore::Double imRefFreq_p
A class to apply the W-Term to the given image.
static casacore::Bool resizeCF(casacore::Array< casacore::Complex > &func, casacore::Int &xSupport, casacore::Int &ySupport, const casacore::Int &supportBuffer, const casacore::Float &sampling, const casacore::Complex &peak)
LatticeExprNode pa(const LatticeExprNode &left, const LatticeExprNode &right)
This function finds 180/pi*atan2(left,right)/2.
Referenced counted pointer for constant data.
static void makeConvFunction2(const casacore::String &uvGridDiskimage, const casacore::Vector< casacore::Double > &uvScale, const casacore::Vector< casacore::Double > &uvOffset, const casacore::Matrix< casacore::Double > &vbFreqSelection, CFStore2 &cfs, CFStore2 &cfwts, const casacore::Bool psTermOn, const casacore::Bool aTermOn, const casacore::Bool conjBeams)
A base class for astronomical images.
static int getOversampling(PSTerm &psTerm, WTerm &wTerm, ATerm &aTerm)
virtual casacore::Matrix< casacore::Double > getFreqRangePerSpw(const VisBuffer &vb)
virtual casacore::Vector< casacore::Double > findPointingOffset(const casacore::ImageInterface< casacore::Complex > &, const VisBuffer &)
void normalizeAvgPB(casacore::ImageInterface< casacore::Complex > &inImage, casacore::ImageInterface< casacore::Float > &outImage)
bool Bool
Define the standard types used by Casacore.
virtual casacore::Vector< casacore::Double > makeFreqValList(casacore::Double &freqScale, const VisBuffer &vb, const casacore::ImageInterface< casacore::Complex > &uvGrid, casacore::Vector< String > &bandNames)
virtual Origin origin() const =0
ABSTRACT METHODS //.
A class to apply the W-Term to the given image.
void makePBSq(casacore::ImageInterface< casacore::Complex > &inImage)
casacore::CountedPtr< ATerm > aTerm_p
AWConvFunc(const casacore::CountedPtr< ATerm > ATerm, const casacore::CountedPtr< PSTerm > psTerm, const casacore::CountedPtr< WTerm > wTerm, const casacore::Bool wbAWP=false, const casacore::Bool conjPB=casacore::True)
virtual void setPolMap(const casacore::Vector< casacore::Int > &polMap)
virtual void prepareConvFunction(const VisBuffer &vb, VBRow2CFBMapType &cfs)
virtual void setParams(const casacore::Vector<casacore::Int>& polMap, const casacore::Vector<casacore...
The base class to represent the Aperture-Term of the Measurement Equation.
String: the storage and methods of handling collections of characters.
VisBuffers encapsulate one chunk of visibility data for processing.
casacore::CountedPtr< WTerm > wTerm_p
Abstract base class for Record classes.
static void fillConvFuncBuffer2(CFBuffer &cfb, CFBuffer &cfWtb, const casacore::Int &nx, const casacore::Int &ny, const casacore::ImageInterface< casacore::Complex > &skyImage, const CFCStruct &miscInfo, PSTerm &psTerm, WTerm &wTerm, ATerm &aTerm, casacore::Bool conjPB)
casacore::Vector< casacore::Double > thePix_p
virtual casacore::Vector< casacore::Double > makeWValList(const casacore::Double &dW, const casacore::Int &nW)
AWConvFunc & operator=(const AWConvFunc &other)
casacore::CountedPtr< CFBuffer > baseCFB_p
virtual casacore::CountedPtr< CFTerms > getTerm(const casacore::String &name)
Interconvert pixel and world coordinates.
virtual int getVisParams(const VisBuffer &vb, const casacore::CoordinateSystem &skyCoord=casacore::CoordinateSystem())
A support function which, for now, returns and integer ID corresponding to the on-sky frequency of th...
virtual void fillConvFuncBuffer(CFBuffer &cfb, CFBuffer &cfWtb, const casacore::Int &nx, const casacore::Int &ny, const casacore::Vector< casacore::Double > &freqValues, const casacore::Vector< casacore::Double > &wValues, const casacore::Double &wScale, const casacore::Double &vbPA, const casacore::Double &freqHi, const PolMapType &muellerElements, const PolMapType &muellerElementsIndex, const VisBuffer &vb, const casacore::Float &psScale, PSTerm &psTerm, WTerm &wTerm, ATerm &aTerm, casacore::Bool isDryRun=false)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.