29 #ifndef SYNTHESIS_TRANSFORM2_CONVOLUTIONFUNCTION_H
30 #define SYNTHESIS_TRANSFORM2_CONVOLUTIONFUNCTION_H
45 #define CF_TYPE casacore::Double
virtual void setDimension(casacore::Int n)
Set the dimention of the convolution function.
A 1-D Specialization of the Array class.
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...
virtual ~ConvolutionFunction()
virtual void reset()
Overrides PlotTool::reset().
The base class to compute convolution functions for convolutional gridding.
ConvolutionFunction(casacore::Int dim)
casacore::Cube< casacore::Int > spwChanSelFlag_p
ostream-like interface to creating log messages.
casacore::LogIO & logIO()
virtual void assign(const Array< T > &other)
Assign the other array (which must be dimension 2) to this matrix.
virtual int getOversampling()
virtual void setPolMap(const casacore::Vector< casacore::Int > &polMap)=0
virtual casacore::Bool makeAverageResponse(const VisBuffer2 &vb, const casacore::ImageInterface< casacore::Complex > &image, casacore::ImageInterface< casacore::Float > &theavgPB, casacore::Bool reset=true)=0
This method computes the average response function.
casacore::CountedPtr< PointingOffsets > po_p
virtual casacore::CountedPtr< CFTerms > getTerm(const casacore::String &)
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; ...
casacore::Matrix< casacore::Double > spwFreqSelection_p
virtual void setRotateCF(const casacore::Double &computeCFAngleRad, const casacore::Double &rotateOTF)
LatticeExprNode pa(const LatticeExprNode &left, const LatticeExprNode &right)
This function finds 180/pi*atan2(left,right)/2.
Referenced counted pointer for constant data.
bool Bool
Define the standard types used by Casacore.
virtual void prepareConvFunction(const VisBuffer2 &vb, VB2CFBMap &theMap)=0
virtual void setParams(const casacore::Vector<casacore::Int>& polMap, const casacore::Vector<casacore...
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 casacore::Vector< casacore::Double > findPointingOffset(const casacore::ImageInterface< casacore::Complex > &image, const VisBuffer2 &vb)=0
virtual casacore::Int mapAntIDToAntType(const casacore::Int &)
VisBuffer2s encapsulate one chunk of visibility data for processing.
virtual int getVisParams(const VisBuffer2 &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 setSpwFreqSelection(const casacore::Matrix< casacore::Double > &spwFreqSel)
virtual void setMiscInfo(const casacore::RecordInterface &)
virtual void setPointingOffsets(const casacore::CountedPtr< refim::PointingOffsets > &po)
casacore::Double rotateCFOTFAngleRad_p
virtual void setSpwSelection(const casacore::Cube< casacore::Int > &spwChanSelFlag)
String: the storage and methods of handling collections of characters.
virtual casacore::Matrix< casacore::Int > makeBaselineList(const casacore::Vector< casacore::Int > &antList)
Abstract base class for Record classes.
casacore::Double computeCFAngleRad_p
Interconvert pixel and world coordinates.
virtual void makeConvFunction(const casacore::ImageInterface< casacore::Complex > &image, const VisBuffer2 &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...