28 #ifndef SYNTHESIS_TRANSFORM2_CFSTORE2_H
29 #define SYNTHESIS_TRANSFORM2_CFSTORE2_H
45 using namespace CFDefs;
51 CFStore2():storage_p(), pa_p(),lazyFillOn_p(
casacore::
False), mosPointingPos_p(0), currentSPWID_p(-1), cfCacheDir_p(
"") {};
63 void makePersistent(
const char *dir,
const char *
name=
"",
const char *qualifier=
"");
68 void makePersistent(
const char *dir,
70 const char *qualifier,
72 const int& ant1,
const int& ant2);
90 pa_p.assign(other.
pa_p);
91 ant1_p.assign(other.
ant1_p);
92 ant2_p.assign(other.
ant2_p);
155 paNdx = paHashFunction(pa,paTol);
156 antNdx = antHashFunction(ant1,ant2);
171 if ((ant1_p[i]==ant1) && (ant2_p[i]==ant2))
181 return nearestPA(pa, paTol);
A Vector of integers, for indexing into Array<T> objects.
A 1-D Specialization of the Array class.
casacore::Vector< casacore::Quantity > getPAList()
casacore::String getCFCacheDir()
casacore::Vector< casacore::Quantity > pa_p
casacore::Vector< casacore::Int > & getAnt2List()
casacore::Vector< casacore::Int > ant1_p
PtrHolder< T > & operator=(const PtrHolder< T > &other)
virtual casacore::Int paHashFunction(const casacore::Quantity &pa, const casacore::Quantity &paTol)
casacore::Bool lazyFillOn_p
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
void show(const variant &v)
casacore::Vector< casacore::Int > ant2_p
LatticeExprNode pa(const LatticeExprNode &left, const LatticeExprNode &right)
This function finds 180/pi*atan2(left,right)/2.
Referenced counted pointer for constant data.
virtual casacore::Int antHashFunction(const casacore::Int &ant1, const casacore::Int &ant2)
virtual casacore::Int wHashFunction(const casacore::Double& wValue) { casacore::Int ndx=-1; for(casac...
casacore::Vector< casacore::CountedPtr< CFBuffer > > VBRow2CFBMapType
casacore::Bool isLazyFillOn()
bool Bool
Define the standard types used by Casacore.
virtual void getIndex(const casacore::Quantity &pa, const casacore::Quantity &paTol, const casacore::Int &ant1, const casacore::Int &ant2, casacore::Int &paNdx, casacore::Int &antNdx)
casacore::Vector< casacore::Int > & getAnt1List()
casacore::IPosition getShape()
VisBuffer2s encapsulate one chunk of visibility data for processing.
void set(const CFStore2 &other)
void setLazyFill(const casacore::Bool &val)
virtual ~CFStore2()
CFStore2(CFBuffer<casacore::Complex> *dataPtr, casacore::Quantity PA, casacore::Int mosPointing): sto...
String: the storage and methods of handling collections of characters.
casacore::Matrix< casacore::CountedPtr< CFBuffer > > & getStorage()
void rememberATerm(casacore::CountedPtr<ATerm>& aTerm) {theATermUsed_p = aTerm;}
CFBuffer & operator()(const casacore::Int &paNdx, const casacore::Int &antNdx)
casacore::String cfCacheDir_p
casacore::Matrix< casacore::CountedPtr< CFBuffer > > storage_p
casacore::Int mosPointingPos_p
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.