CalMainRecord.h

Classes

CalMainRecord -- CalMainRecord: Calibration table record access and creation (full description)

class CalMainRecord

Interface

Public Members
CalMainRecord()
~CalMainRecord()
CalMainRecord (const Record& inpRec)
const Record& record()
void defineTime (const Double& time)
void defineTime (const MEpoch& time)
void defineTimeEP (const Double& timeEP)
void defineInterval (const Double& interval)
void defineAntenna1 (const Int& antenna1)
void defineFeed1 (const Int& feed1)
void defineFieldId (const Int& fieldId)
void defineArrayId (const Int& arrayId)
void defineObsId (const Int& obsId)
void defineScanNo (const Int& scanNo)
void defineProcessorId (const Int& processorId)
void defineStateId (const Int& stateId)
void definePhaseId (const Int& phaseId)
void definePulsarBin (const Int& pulsarBin)
void definePulsarGateId (const Int& pulsarGateId)
void defineFreqGrp (const Int& freqGrp)
void defineFreqGrpName (const String& freqGrpName)
void defineFieldName (const String& fieldName)
void defineFieldCode (const String& fieldCode)
void defineSourceName (const String& sourceName)
void defineSourceCode (const String& sourceCode)
void defineCalGrp (const Int& calGrp)
void defineGain (const Array<Complex>& gain)
void defineRefAnt (const Array<Int>& refAnt)
void defineRefFeed (const Array<Int>& refFeed)
void defineRefReceptor (const Array<Int>& refReceptor)
void defineRefFreq (const Array<Double>& refFreq)
void defineMeasFreqRef (const Int& measFreqRef)
void defineRefDir (const Array<Double>& refDir)
void defineMeasDirRef (const Int& measDirRef)
void defineCalDescId (const Int& calDescId)
void defineCalHistoryId (const Int& calHistoryId)
void getTime (Double& time)
void getTimeEP (Double& timeEP)
void getInterval (Double& interval)
void getAntenna1 (Int& antenna1)
void getFeed1 (Int& feed1)
void getFieldId (Int& fieldId)
void getArrayId (Int& arrayId)
void getObsId (Int& obsId)
void getScanNo (Int& scanNo)
void getProcessorId (Int& processorId)
void getStateId (Int& stateId)
void getPhaseId (Int& phaseId)
void getPulsarBin (Int& pulsarBin)
void getPulsarGateId (Int& pulsarGateId)
void getFreqGrp (Int& freqGrp)
void getFreqGrpName (String& freqGrpName)
void getFieldName (String& fieldName)
void getFieldCode (String& fieldCode)
void getSourceName (String& sourceName)
void getSourceCode (String& sourceCode)
void getCalGrp (Int& calGrp)
void getGain (Array<Complex>& gain)
void getRefAnt (Array<Int>& refAnt)
void getRefFeed (Array<Int>& refFeed)
void getRefReceptor (Array<Int>& refReceptor)
void getRefFreq (Array<Double>& refFreq)
void getMeasFreqRef (Int& measFreqRef)
void getRefDir (Array<Double>& refDir)
void getMeasDirRef (Int& measDirRef)
void getCalDescId (Int& calDescId)
void getCalHistoryId (Int& calHistoryId)
Protected Members
void addRec (const Record& newRec)
void dTotalSolnOk (const Bool& totalSolnOk)
void dTotalFit (const Float& totalFit)
void dTotalFitWgt (const Float& totalFitWgt)
void dSolnOk (const Array <Bool>& solnOk)
void dFit (const Array <Float>& fit)
void dFitWgt (const Array <Float>& fitWgt)
void gTotalSolnOk (Bool& totalSolnOk)
void gTotalFit (Float& totalFit)
void gTotalFitWgt (Float& totalFitWgt)
void gSolnOk (Array <Bool>& solnOk)
void gFit (Array <Float>& fit)
void gFitWgt (Array <Float>& fitWgt)

Description

Prerequisite

Etymology

From "calibration main table" and "record".

Synopsis

The CalMainRecord classes allow access to, and creation of, records in the main calibration table. Specializations for baseline-based, time-variable and solvable VisJones calibration table record types are provided through inheritance.

Example


 

Motivation

Encapsulate access to calibration table records.

To Do

Member Description

CalMainRecord()

Default null constructor, and destructor

~CalMainRecord()

CalMainRecord (const Record& inpRec)

Construct from an existing record

const Record& record()

Return as record

void defineTime (const Double& time)

Field accessors a) define

void defineTime (const MEpoch& time)

void defineTimeEP (const Double& timeEP)

void defineInterval (const Double& interval)

void defineAntenna1 (const Int& antenna1)

void defineFeed1 (const Int& feed1)

void defineFieldId (const Int& fieldId)

void defineArrayId (const Int& arrayId)

void defineObsId (const Int& obsId)

void defineScanNo (const Int& scanNo)

void defineProcessorId (const Int& processorId)

void defineStateId (const Int& stateId)

void definePhaseId (const Int& phaseId)

void definePulsarBin (const Int& pulsarBin)

void definePulsarGateId (const Int& pulsarGateId)

void defineFreqGrp (const Int& freqGrp)

void defineFreqGrpName (const String& freqGrpName)

void defineFieldName (const String& fieldName)

void defineFieldCode (const String& fieldCode)

void defineSourceName (const String& sourceName)

void defineSourceCode (const String& sourceCode)

void defineCalGrp (const Int& calGrp)

void defineGain (const Array<Complex>& gain)

void defineRefAnt (const Array<Int>& refAnt)

void defineRefFeed (const Array<Int>& refFeed)

void defineRefReceptor (const Array<Int>& refReceptor)

void defineRefFreq (const Array<Double>& refFreq)

void defineMeasFreqRef (const Int& measFreqRef)

void defineRefDir (const Array<Double>& refDir)

void defineMeasDirRef (const Int& measDirRef)

void defineCalDescId (const Int& calDescId)

void defineCalHistoryId (const Int& calHistoryId)

void getTime (Double& time)

b) get

void getTimeEP (Double& timeEP)

void getInterval (Double& interval)

void getAntenna1 (Int& antenna1)

void getFeed1 (Int& feed1)

void getFieldId (Int& fieldId)

void getArrayId (Int& arrayId)

void getObsId (Int& obsId)

void getScanNo (Int& scanNo)

void getProcessorId (Int& processorId)

void getStateId (Int& stateId)

void getPhaseId (Int& phaseId)

void getPulsarBin (Int& pulsarBin)

void getPulsarGateId (Int& pulsarGateId)

void getFreqGrp (Int& freqGrp)

void getFreqGrpName (String& freqGrpName)

void getFieldName (String& fieldName)

void getFieldCode (String& fieldCode)

void getSourceName (String& sourceName)

void getSourceCode (String& sourceCode)

void getCalGrp (Int& calGrp)

void getGain (Array<Complex>& gain)

void getRefAnt (Array<Int>& refAnt)

void getRefFeed (Array<Int>& refFeed)

void getRefReceptor (Array<Int>& refReceptor)

void getRefFreq (Array<Double>& refFreq)

void getMeasFreqRef (Int& measFreqRef)

void getRefDir (Array<Double>& refDir)

void getMeasDirRef (Int& measDirRef)

void getCalDescId (Int& calDescId)

void getCalHistoryId (Int& calHistoryId)

void addRec (const Record& newRec)

Add to itsRecord

void dTotalSolnOk (const Bool& totalSolnOk)

Field accessors for fit parameters. Used in separate parts of the inheritance tree. a) define

void dTotalFit (const Float& totalFit)

void dTotalFitWgt (const Float& totalFitWgt)

void dSolnOk (const Array <Bool>& solnOk)

void dFit (const Array <Float>& fit)

void dFitWgt (const Array <Float>& fitWgt)

void gTotalSolnOk (Bool& totalSolnOk)

b) get

void gTotalFit (Float& totalFit)

void gTotalFitWgt (Float& totalFitWgt)

void gSolnOk (Array <Bool>& solnOk)

void gFit (Array <Float>& fit)

void gFitWgt (Array <Float>& fitWgt)