#include
From full shape
From existing CalTable
(apply context)
(for now, we will verify that filled solutions match nPar,nElem,nSpw)
Copy
Assignment
virtual CalSet& operator=(const CalSet& other);
Destructor
Resize caches
Access to shape info:
Freq list per spw
Store/Retrieve solutions to/from a table.
(will evolve to use table iteration)
Member Description
CalSet()
Null ctor does nothing
CalSet(const Int& nSpw)
Minimal, knows only how many potential spws
(solve context)
CalSet(const Int& nSpw, const Int& nPar, const Vector<Int>& nChan, const Int& nElem, const Vector<Int>& nTime)
CalSet(const String& calTableName, const String& select, const Int& nSpw, const Int& nPar, const Int& nElem)
CalSet(const CalSet& other)
virtual ~CalSet()
void resize(const Int& nPar, const Vector<Int>& nChan, const Int& nElem, const Vector<Int>& nTime)
Int& nSpw()
Int& nPar()
Vector<Int>& nChan()
Int& nChan(const Int& spw)
Int& nElem()
Vector<Int>& nTime()
Int& nTime(const Int& spw)
IPosition shape(const Int& spw)
Vector<Double>& frequencies(const Int& spw)
IPosition& shape(const Int& spw) { return IPosition(4,nPar(),nChan(spw),nElem(),nTime(spw)); };
void setStartChan(const Vector<Int>& startChan)
Temporary method to support current conventions in SVJ
Vector<Int>& startChan()
Vector<Double>& startTime(const Int& spw)
Access to whole solution caches
Vector<Double>& stopTime(const Int& spw)
Vector<Double>& time(const Int& spw)
Vector<Int>& fieldId(const Int& spw)
Vector<String>& fieldName(const Int& spw)
Vector<String>& sourceName(const Int& spw)
Array<T>& par(const Int& spw)
Cube<Bool>& parOK(const Int& spw)
Matrix<Bool>& iSolutionOK(const Int& spw)
Statistics
Matrix<Float>& iFit(const Int& spw)
Matrix<Float>& iFitwt(const Int& spw)
Vector<Bool>& solutionOK(const Int& spw)
Vector<Float>& fit(const Int& spw)
Vector<Float>& fitwt(const Int& spw)
virtual void store(const String& file, const String& type, const Bool& append)
virtual void load(const String& file, const String& select)
void inflate()
new/delete of cache
void deflate()
LogSink& logSink()