CalSet.h

Classes

CalSet -- (full description)

class CalSet

Interface

Public Members
CalSet()
CalSet(const Int& nSpw)
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)
void setStartChan(const Vector<Int>& startChan)
Vector<Int>& startChan()
Vector<Double>& startTime(const Int& spw)
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)
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)
Private Members
void inflate()
void deflate()
LogSink& logSink()

Description

#include #include

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)

From full shape

CalSet(const String& calTableName, const String& select, const Int& nSpw, const Int& nPar, const Int& nElem)

From existing CalTable (apply context) (for now, we will verify that filled solutions match nPar,nElem,nSpw)

CalSet(const CalSet& other)

Copy

virtual ~CalSet()

Assignment virtual CalSet& operator=(const CalSet& other);

Destructor

void resize(const Int& nPar, const Vector<Int>& nChan, const Int& nElem, const Vector<Int>& nTime)

Resize caches

Int& nSpw()

Access to shape info:

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)); };

Freq list per 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)

Store/Retrieve solutions to/from a table. (will evolve to use table iteration)

virtual void load(const String& file, const String& select)

void inflate()

new/delete of cache

void deflate()

LogSink& logSink()