28 #ifndef SYNTHESIS_HETARRAYCONVFUNC_H
29 #define SYNTHESIS_HETARRAYCONVFUNC_H
35 template<
class T>
class ImageInterface;
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
void supportAndNormalizeLatt(casacore::Int plane, casacore::Int convSampling, casacore::TempLattice< casacore::Complex > &convFuncLat, casacore::TempLattice< casacore::Complex > &weightConvFuncLat)
void applyGradientToYLine(const casacore::Int iy, casacore::Complex *&convFunctions, casacore::Complex *&convWeights, const casacore::Double pixXdir, const casacore::Double pixYdir, casacore::Int convSize, const casacore::Int ndishpair, const casacore::Int nchan, const casacore::Int nPol)
std::complex< Float > Complex
casacore::Int checkPBOfField(const VisBuffer &vb, casacore::Vector< casacore::Int > &rowMap)
the return value are -1 or false for not in cache yet but pointing direction seems to be inside ima...
casacore::Float interpLanczos(const casacore::Double &x, const casacore::Double &y, const casacore::Double &nx, const casacore::Double &ny, const casacore::Float *data, const casacore::Float a=3)
void supportAndNormalize(casacore::Int plane, casacore::Int convSampling)
casacore::Int factorial(casacore::Int n)
casacore::Array< casacore::Complex > weightConvFunc_p
casacore::Int64 nDefined_p
casacore::Array< casacore::Complex > resample(const casacore::Array< casacore::Complex > &inarray, const casacore::Double factor)
casacore::Array< casacore::Complex > convFunc_p
A 2-D Specialization of the Array class.
virtual casacore::String name()
virtual casacore::Bool fromRecord(casacore::String &err, const casacore::RecordInterface &rec, casacore::Bool calcFluxscale=false)
From record set calcfluxneeded to true if flux scale need to be computed.
PBClass
Allowed PBMath Classes.
std::map< casacore::String, casacore::Int > antDiam2IndexMap_p
casacore::Int actualConvIndex_p
casacore::Block< casacore::CountedPtr< casacore::Array< casacore::Complex > > > convFunctions_p
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
virtual void reset()
give possibility to erase history
virtual casacore::ImageInterface< casacore::Float > & getFluxScaleImage()
casacore::Float sinc(const casacore::Float x)
Returns the convfunctions in the Cubes the casacore::Matrix rowChanMap maps the vb row and channel to the plane of the convfunc appropriate when conjugateFreqFuncs
virtual void findConvFunction(const casacore::ImageInterface< casacore::Complex > &iimage, const VisBuffer &vb, const casacore::Int &convSampling, const casacore::Vector< casacore::Double > &visFreq, casacore::Array< casacore::Complex > &convFunc, casacore::Array< casacore::Complex > &weightConvFunc, casacore::Vector< casacore::Int > &convsize, casacore::Vector< casacore::Int > &convSupport, casacore::Vector< casacore::Int > &polMap, casacore::Vector< casacore::Int > &chanMap, casacore::Vector< casacore::Int > &rowMap, const casacore::Bool conjugateFreqFuncs=false)
Returns the convfunctions in the Arrays...the rowMap maps the vb.row to the plane of the convfunc app...
casacore::Block< casacore::CountedPtr< casacore::Array< casacore::Complex > > > convWeights_p
casacore::Block< casacore::CountedPtr< casacore::Vector< casacore::Int > > > convSupportBlock_p
virtual casacore::Bool toRecord(casacore::RecordInterface &rec)
Serialization.
casacore::Block< casacore::CountedPtr< PBMathInterface > > antMath_p
casacore::Vector< casacore::Int > convSupport_p
void findAntennaSizes(const VisBuffer &vb)
bool Bool
Define the standard types used by Casacore.
casacore::Block< casacore::CountedPtr< casacore::Vector< casacore::Int > > > convSizes_p
casacore::Vector< casacore::Int64 > convFunctionMap_p
std::map <casacore::String, casacore::Int> convFunctionMap_p;
void makerowmap(const VisBuffer &vb, casacore::Vector< casacore::Int > &rowMap)
casacore::Array< casacore::Complex > convSave_p
virtual ~HetArrayConvFunc()
casacore::Vector< casacore::Int > antIndexToDiamIndex_p
casacore::Array< casacore::Complex > weightSave_p
void init(const PBMathInterface::PBClass typeToUse)
String: the storage and methods of handling collections of characters.
virtual void sliceFluxScale(const casacore::Int npol)
slice flux scale images
casacore::String vpTable_p
VisBuffers encapsulate one chunk of visibility data for processing.
Abstract base class for Record classes.
PBMathInterface::PBClass pbClass_p
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.