29 #ifndef SYNTHESIS_TRANSFORM2_ILLUMINATIONCONVFUNC_H
30 #define SYNTHESIS_TRANSFORM2_ILLUMINATIONCONVFUNC_H
38 using namespace casa::vi;
46 {expTableReady=cexpTableReady=sigmaReady=
false;pa_p=1000.0;};
49 {expTableReady=cexpTableReady=sigmaReady=
false;pa_p=1000.0;};
71 (void)coord;(void)offset;
72 throw(
casacore::AipsError(
"This version of IlluminationConvFunc::getValue() is not useful."));
87 {(void)vb;(void)skyCoord;
return 0;};
98 {(void)polMap;(void)feedStokes;};
104 {
throw(
casacore::AipsError(
"IlluminationConvFunc::findPointingOffset() not implemented"));};
107 {
throw(
casacore::AipsError(
"IlluminationConvFunc::prepareConvFunction() not implemented"));};
virtual casacore::Vector< casacore::Double > findPointingOffset(const casacore::ImageInterface< casacore::Complex > &, const VisBuffer2 &)
void setSigma(casacore::Double s)
std::complex< Float > Complex
void setFeedStokes(const casacore::Vector< int > &feedStokes)
void initExpTable(casacore::Int n, CF_TYPE step)
The base class to compute convolution functions for convolutional gridding.
void makeConvFunction(const casacore::ImageInterface< std::complex< float > > &, const VisBuffer2 &, casacore::Int, const casacore::CountedPtr< PolOuterProduct > &, casacore::Float, casacore::Float, const casacore::Vector< casacore::Double > &, const casacore::Vector< casacore::Double > &, const casacore::Matrix< casacore::Double > &, CFStore2 &, CFStore2 &, casacore::Bool)
CF_TYPE getValue(casacore::Vector< CF_TYPE > &coord, casacore::Vector< CF_TYPE > &offset)
Given the pixel co-ordinates and an offset values, this returns the value of the convolution function...
virtual casacore::Bool makeAverageResponse(const VisBuffer2 &, const casacore::ImageInterface< casacore::Complex > &, casacore::ImageInterface< casacore::Float > &, casacore::Bool)
This method computes the average response function.
CExp3< CF_TYPE > CExpTable
virtual casacore::Bool makeAverageResponse(const VisBuffer2 &, const casacore::ImageInterface< casacore::Complex > &, casacore::ImageInterface< casacore::Complex > &, casacore::Bool)
Referenced counted pointer for constant data.
A base class for astronomical images.
IlluminationConvFunc & operator=(const IlluminationConvFunc &)
int getVisParams(const VisBuffer2 &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 casacore::Vector< casacore::Vector< casacore::Double > > findPointingOffset(const casacore::ImageInterface< casacore::Complex > &, const VisBuffer2 &, const casacore::Bool &)
VBRow2CFBMapType &*virtual void prepareConvFunction(const VisBuffer2 &, VB2CFBMap &)
virtual void setParams(const casacore::Vector<casacore::Int>& polMap, const casacore::Vector<casacore...
bool Bool
Define the standard types used by Casacore.
void setPolMap(const casacore::Vector< int > &polMap)
void setParams(const casacore::Vector< int > &polMap, const casacore::Vector< int > &feedStokes)
IlluminationConvFunc & operator=(const ConvolutionFunction &)
VisBuffer2s encapsulate one chunk of visibility data for processing.
Base class for all Casacore library errors.
casacore::Bool sigmaReady
IlluminationConvFunc(casacore::Int n)
casacore::Bool findSupport(casacore::Array< casacore::Complex > &, casacore::Float &, casacore::Int &, casacore::Int &)
virtual void setFeedStokes(const casacore::Vector<casacore::Int>& feedStokes) = 0; ...
void initCExpTable(casacore::Int n)
Interconvert pixel and world coordinates.