29 #ifndef SYNTHESIS_CONVOLUTIONFUNCTION_H
30 #define SYNTHESIS_CONVOLUTIONFUNCTION_H
43 #define CF_TYPE casacore::Double
virtual void setRotateCF(const casacore::Double &computeCFAngleRad, const casacore::Double &rotateOTF)
A 1-D Specialization of the Array class.
virtual void setSpwFreqSelection(const casacore::Matrix< casacore::Double > &spwFreqSel)
casacore::Cube< casacore::Int > spwChanSelFlag_p
casacore::LogIO & logIO()
virtual int getVisParams(const VisBuffer &vb, const casacore::CoordinateSystem &skyCoord=casacore::CoordinateSystem())=0
A support function which, for now, returns and integer ID corresponding to the on-sky frequency of th...
virtual void reset()
Overrides PlotTool::reset().
virtual void prepareConvFunction(const VisBuffer &vb, VBRow2CFBMapType &theMap)=0
virtual void setParams(const casacore::Vector<casacore::Int>& polMap, const casacore::Vector<casacore...
virtual casacore::Bool findSupport(casacore::Array< casacore::Complex > &func, casacore::Float &threshold, casacore::Int &origin, casacore::Int &R)=0
virtual void setFeedStokes(const casacore::Vector<casacore::Int>& feedStokes) = 0; ...
virtual casacore::Vector< casacore::Double > findPointingOffset(const casacore::ImageInterface< casacore::Complex > &image, const VisBuffer &vb)=0
casacore::Double rotateCFOTFAngleRad_p
ostream-like interface to creating log messages.
The base class to compute convolution functions for convolutional gridding.
virtual casacore::Matrix< casacore::Int > makeBaselineList(const casacore::Vector< casacore::Int > &antList)
casacore::Matrix< casacore::Double > spwFreqSelection_p
virtual void assign(const Array< T > &other)
Assign the other array (which must be dimension 2) to this matrix.
LatticeExprNode pa(const LatticeExprNode &left, const LatticeExprNode &right)
This function finds 180/pi*atan2(left,right)/2.
Referenced counted pointer for constant data.
casacore::Double computeCFAngleRad_p
ConvolutionFunction(casacore::Int dim)
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)=0
This method computes the convolution function and the convolution function used for gridding the weig...
virtual ~ConvolutionFunction()
bool Bool
Define the standard types used by Casacore.
virtual casacore::CountedPtr< CFTerms > getTerm(const casacore::String &)
virtual void assign(const Array< T > &other)
Assign the other array (which must be dimension 3) to this cube.
virtual Origin origin() const =0
ABSTRACT METHODS //.
virtual void setSpwSelection(const casacore::Cube< casacore::Int > &spwChanSelFlag)
virtual void setDimension(casacore::Int n)
Set the dimention of the convolution function.
virtual void setMiscInfo(const casacore::RecordInterface &)
virtual casacore::Int mapAntIDToAntType(const casacore::Int &)
virtual void setPolMap(const casacore::Vector< casacore::Int > &polMap)=0
virtual CF_TYPE getValue(casacore::Vector< CF_TYPE > &, casacore::Vector< CF_TYPE > &)
Given the pixel co-ordinates and an offset values, this returns the value of the convolution function...
String: the storage and methods of handling collections of characters.
VisBuffers encapsulate one chunk of visibility data for processing.
virtual casacore::Bool makeAverageResponse(const VisBuffer &vb, const casacore::ImageInterface< casacore::Complex > &image, casacore::ImageInterface< casacore::Float > &theavgPB, casacore::Bool reset=true)=0
This method computes the average response function.
Abstract base class for Record classes.
Interconvert pixel and world coordinates.