28 #ifndef SYNTHESIS_CFSTORE2_H
29 #define SYNTHESIS_CFSTORE2_H
43 using namespace CFDefs;
50 CFStore2():storage_p(), pa_p(), lazyFillOn_p(
False), mosPointingPos_p(0), currentSPWID_p(-1), cfCacheDir_p(
"") {};
63 void makePersistent(
const char *dir,
const char *
name=
"",
const char *qualifier=
"");
67 void makePersistent(
const char *dir,
69 const char *qualifier,
88 pa_p.assign(other.
pa_p);
89 ant1_p.assign(other.
ant1_p);
90 ant2_p.assign(other.
ant2_p);
100 void setCFCacheDir(
const String& dir);
152 paNdx = paHashFunction(pa,paTol);
153 antNdx = antHashFunction(ant1,ant2);
168 if ((ant1_p[i]==ant1) && (ant2_p[i]==ant2))
178 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 > pa_p
CFBuffer & operator()(const casacore::Int &paNdx, const casacore::Int &antNdx)
casacore::Vector< casacore::Quantity > getPAList()
casacore::Matrix< casacore::CountedPtr< CFBuffer > > storage_p
PtrHolder< T > & operator=(const PtrHolder< T > &other)
A 3-D Specialization of the Array class.
void setLazyFill(const Bool &val)
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
casacore::Bool isLazyFillOn()
void show(const variant &v)
casacore::Matrix< casacore::CountedPtr< CFBuffer > > & getStorage()
void rememberATerm(casacore::CountedPtr<ATerm>& aTerm) {theATermUsed_p = aTerm;}
virtual casacore::Int paHashFunction(const casacore::Quantity &pa, const casacore::Quantity &paTol)
casacore::Vector< casacore::Int > & getAnt1List()
casacore::String cfCacheDir_p
LatticeExprNode pa(const LatticeExprNode &left, const LatticeExprNode &right)
This function finds 180/pi*atan2(left,right)/2.
Referenced counted pointer for constant data.
casacore::Int mosPointingPos_p
virtual ~CFStore2()
CFStore2(CFBuffer<casacore::Complex> *dataPtr, casacore::Quantity PA, casacore::Int mosPointing): sto...
casacore::Vector< casacore::CountedPtr< CFBuffer > > VBRow2CFBMapType
casacore::Vector< casacore::Int > & getAnt2List()
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)
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::Cube< casacore::CountedPtr< CFCell > > VBRow2CFMapType
bool Bool
Define the standard types used by Casacore.
casacore::Vector< casacore::Int > ant1_p
casacore::Vector< casacore::Int > ant2_p
String: the storage and methods of handling collections of characters.
casacore::String getCFCacheDir()
VisBuffers encapsulate one chunk of visibility data for processing.
void set(const CFStore2 &other)
casacore::IPosition getShape()
casacore::Bool lazyFillOn_p