28 #ifndef SYNTHESIS_TRANSFORM2_HETARRAYCONVFUNC_H
29 #define SYNTHESIS_TRANSFORM2_HETARRAYCONVFUNC_H
35 template<
class T>
class ImageInterface;
36 template<
class T>
class Matrix;
59 namespace vi{
class VisBuffer2;}
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
casacore::Array< casacore::Complex > convSave_p
casacore::Matrix< casacore::Complex > resample2(const casacore::Matrix< casacore::Complex > &inarray, const casacore::Double factor)
std::complex< Float > Complex
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)
casacore::Int64 nDefined_p
casacore::Array< casacore::Complex > weightSave_p
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)
casacore::Int factorial(casacore::Int n)
void init(const PBMathInterface::PBClass typeToUse)
casacore::String vpTable_p
virtual ~HetArrayConvFunc()
casacore::Block< casacore::CountedPtr< casacore::Array< casacore::Complex > > > convFunctionsConjFreq_p
void supportAndNormalize(casacore::Int plane, casacore::Int convSampling)
PBClass
Allowed PBMath Classes.
casacore::Int actualConvIndex_p
virtual casacore::String name()
PBMathInterface::PBClass pbClass_p
casacore::Int conjSupport(const casacore::Vector< casacore::Double > &beamFreqs)
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
casacore::Vector< casacore::Int64 > convFunctionMap_p
std::map <casacore::String, casacore::Int> convFunctionMap_p;
std::map< casacore::String, casacore::Int > antDiam2IndexMap_p
casacore::Float sinc(const casacore::Float x)
casacore::Vector< casacore::Int > convSupport_p
virtual casacore::Bool toRecord(casacore::RecordInterface &rec)
Serialization.
void makerowmap(const vi::VisBuffer2 &vb, casacore::Vector< casacore::Int > &rowMap)
casacore::Vector< casacore::Int > antIndexToDiamIndex_p
virtual void reset()
give possibility to erase history
bool Bool
Define the standard types used by Casacore.
void supportAndNormalizeLatt(casacore::Int plane, casacore::Int convSampling, casacore::TempLattice< casacore::Complex > &convFuncLat, casacore::TempLattice< casacore::Complex > &weightConvFuncLat)
casacore::Int checkPBOfField(const vi::VisBuffer2 &vb, casacore::Vector< casacore::Int > &rowMap, const casacore::MVDirection &extraShift=casacore::MVDirection(0.0), const casacore::Bool useExtraShift=casacore::False)
the return value are -1 or false for not in cache yet but pointing direction seems to be inside ima...
casacore::Array< casacore::Complex > weightConvFunc_p
void findAntennaSizes(const vi::VisBuffer2 &vb)
casacore::Block< casacore::CountedPtr< casacore::Array< casacore::Complex > > > convWeights_p
casacore::Array< casacore::Complex > convFunc_p
casacore::Block< casacore::CountedPtr< casacore::Vector< casacore::Int > > > convSizes_p
virtual casacore::ImageInterface< casacore::Float > & getFluxScaleImage()
VisBuffer2s encapsulate one chunk of visibility data for processing.
virtual void findConvFunction(const casacore::ImageInterface< casacore::Complex > &iimage, const vi::VisBuffer2 &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 getConjConvFuncs=false, const casacore::MVDirection &extraShift=casacore::MVDirection(0.0), const casacore::Bool useExtraShift=casacore::False)
Returns the convfunctions in the Arrays...the rowMap maps the vb.row to the plane of the convfunc app...
String: the storage and methods of handling collections of characters.
Vector of three direction cosines.
Abstract base class for Record classes.
casacore::Array< casacore::Complex > resample(const casacore::Array< casacore::Complex > &inarray, const casacore::Double factor)
virtual void sliceFluxScale(const casacore::Int npol)
slice flux scale images
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.
void fillConjConvFunc(const casacore::Vector< casacore::Double > &beamFreqs)
casacore::Block< casacore::CountedPtr< casacore::Vector< casacore::Int > > > convSupportBlock_p
casacore::Block< casacore::CountedPtr< PBMathInterface > > antMath_p
casacore::Block< casacore::CountedPtr< casacore::Array< casacore::Complex > > > convFunctions_p
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.