29 #ifndef SYNTHESIS_ILLUMINATIONCONVFUNC_H
30 #define SYNTHESIS_ILLUMINATIONCONVFUNC_H
68 (void)coord;(void)offset;
69 throw(
casacore::AipsError(
"This version of IlluminationConvFunc::getValue() is not useful."));
84 {(void)vb;(void)skyCoord;
return 0;};
95 {(void)polMap;(void)feedStokes;};
101 {
throw(
casacore::AipsError(
"IlluminationConvFunc::findPointingOffset() not implemented"));};
103 {
throw(
casacore::AipsError(
"IlluminationConvFunc::prepareConvFunction() not implemented"));};
virtual casacore::Bool makeAverageResponse(const VisBuffer &, const casacore::ImageInterface< casacore::Complex > &, casacore::ImageInterface< casacore::Complex > &, casacore::Bool)
void setSigma(casacore::Double s)
std::complex< Float > Complex
virtual void prepareConvFunction(const VisBuffer &, VBRow2CFBMapType &)
virtual void setParams(const casacore::Vector<casacore::Int>& polMap, const casacore::Vector<casacore...
void setFeedStokes(const casacore::Vector< int > &feedStokes)
ExpCache< CF_TYPE > ExpTable
casacore::Bool expTableReady
IlluminationConvFunc(casacore::Int n)
int getVisParams(const casa::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...
CExp3< CF_TYPE > CExpTable
casacore::Bool cexpTableReady
The base class to compute convolution functions for convolutional gridding.
casacore::Bool sigmaReady
void setPolMap(const casacore::Vector< int > &polMap)
void initExpTable(casacore::Int n, CF_TYPE step)
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...
void build(int n, T Step)
Referenced counted pointer for constant data.
A base class for astronomical images.
casacore::Vector< casacore::Int > supportSize(casacore::Vector< casacore::Double > &uvScale)
virtual casacore::Bool makeAverageResponse(const VisBuffer &, const casacore::ImageInterface< casacore::Complex > &, casacore::ImageInterface< casacore::Float > &, casacore::Bool)
This method computes the average response function.
bool Bool
Define the standard types used by Casacore.
void setParams(const casacore::Vector< int > &polMap, const casacore::Vector< int > &feedStokes)
Base class for all Casacore library errors.
VisBuffers encapsulate one chunk of visibility data for processing.
IlluminationConvFunc & operator=(const IlluminationConvFunc &)
void initCExpTable(casacore::Int n)
void makeConvFunction(const casacore::ImageInterface< std::complex< float > > &, const casa::VisBuffer &, 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 > &, casa::CFStore2 &, casa::CFStore2 &, casacore::Bool)
Interconvert pixel and world coordinates.
casacore::Bool findSupport(casacore::Array< casacore::Complex > &, casacore::Float &, casacore::Int &, casacore::Int &)
virtual void setFeedStokes(const casacore::Vector<casacore::Int>& feedStokes) = 0; ...
CF_TYPE area(casacore::Vector< casacore::Int > &convSupport, casacore::Vector< casacore::Double > &uvScale)
IlluminationConvFunc & operator=(const ConvolutionFunction &)
virtual casacore::Vector< casacore::Double > findPointingOffset(const casacore::ImageInterface< casacore::Complex > &, const VisBuffer &)