casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Attributes
casa::CalMainRecord Class Reference

CalMainRecord: Calibration table record access and creation. More...

#include <CalMainRecord.h>

Inheritance diagram for casa::CalMainRecord:
casa::MJonesMRec casa::VisJonesMRec casa::TimeVarMJonesMRec casa::TimeVarVisJonesMRec casa::SolvableMJonesMRec casa::CJonesMRec casa::FVisJonesMRec casa::PJonesMRec casa::SolvableVisJonesMRec casa::MIfrMRec casa::FVisJonesIonoMRec casa::BJonesMRec casa::DJonesMRec casa::EPointVisJonesMRec casa::GJonesMRec casa::TJonesMRec

List of all members.

Public Member Functions

 CalMainRecord ()
 Default null constructor, and destructor.
 ~CalMainRecord ()
 CalMainRecord (const Record &inpRec)
 Construct from an existing record.
const Recordrecord ()
 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)

Protected Member Functions

void addRec (const Record &newRec)
 Add to itsRecord.
void dTotalSolnOk (const Bool &totalSolnOk)
 Field accessors for fit parameters.
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 dFlag (const Array< Bool > &flag)
void dSnr (const Array< Float > &snr)
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)
void gFlag (Array< Bool > &flag)
void gSnr (Array< Float > &snr)

Private Attributes

Record itsRecord

Detailed Description

CalMainRecord: Calibration table record access and creation.

Intended use:

Public interface

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.

Definition at line 74 of file CalMainRecord.h.


Constructor & Destructor Documentation

Default null constructor, and destructor.

Definition at line 79 of file CalMainRecord.h.

Construct from an existing record.


Member Function Documentation

void casa::CalMainRecord::addRec ( const Record newRec) [protected]

Add to itsRecord.

void casa::CalMainRecord::defineAntenna1 ( const Int antenna1)
void casa::CalMainRecord::defineArrayId ( const Int arrayId)
void casa::CalMainRecord::defineCalDescId ( const Int calDescId)
void casa::CalMainRecord::defineCalGrp ( const Int calGrp)
void casa::CalMainRecord::defineCalHistoryId ( const Int calHistoryId)
void casa::CalMainRecord::defineFeed1 ( const Int feed1)
void casa::CalMainRecord::defineFieldCode ( const String fieldCode)
void casa::CalMainRecord::defineFieldId ( const Int fieldId)
void casa::CalMainRecord::defineFieldName ( const String fieldName)
void casa::CalMainRecord::defineFreqGrp ( const Int freqGrp)
void casa::CalMainRecord::defineFreqGrpName ( const String freqGrpName)
void casa::CalMainRecord::defineGain ( const Array< Complex > &  gain)
void casa::CalMainRecord::defineInterval ( const Double interval)
void casa::CalMainRecord::defineMeasDirRef ( const Int measDirRef)
void casa::CalMainRecord::defineMeasFreqRef ( const Int measFreqRef)
void casa::CalMainRecord::defineObsId ( const Int obsId)
void casa::CalMainRecord::definePhaseId ( const Int phaseId)
void casa::CalMainRecord::defineProcessorId ( const Int processorId)
void casa::CalMainRecord::definePulsarBin ( const Int pulsarBin)
void casa::CalMainRecord::definePulsarGateId ( const Int pulsarGateId)
void casa::CalMainRecord::defineRefAnt ( const Array< Int > &  refAnt)
void casa::CalMainRecord::defineRefDir ( const Array< Double > &  refDir)
void casa::CalMainRecord::defineRefFeed ( const Array< Int > &  refFeed)
void casa::CalMainRecord::defineRefFreq ( const Array< Double > &  refFreq)
void casa::CalMainRecord::defineRefReceptor ( const Array< Int > &  refReceptor)
void casa::CalMainRecord::defineScanNo ( const Int scanNo)
void casa::CalMainRecord::defineSourceCode ( const String sourceCode)
void casa::CalMainRecord::defineSourceName ( const String sourceName)
void casa::CalMainRecord::defineStateId ( const Int stateId)
void casa::CalMainRecord::defineTime ( const Double time)

Field accessors a) define.

void casa::CalMainRecord::defineTime ( const MEpoch time)
void casa::CalMainRecord::defineTimeEP ( const Double timeEP)
void casa::CalMainRecord::dFit ( const Array< Float > &  fit) [protected]
void casa::CalMainRecord::dFitWgt ( const Array< Float > &  fitWgt) [protected]
void casa::CalMainRecord::dFlag ( const Array< Bool > &  flag) [protected]
void casa::CalMainRecord::dSnr ( const Array< Float > &  snr) [protected]
void casa::CalMainRecord::dSolnOk ( const Array< Bool > &  solnOk) [protected]
void casa::CalMainRecord::dTotalFit ( const Float totalFit) [protected]
void casa::CalMainRecord::dTotalFitWgt ( const Float totalFitWgt) [protected]
void casa::CalMainRecord::dTotalSolnOk ( const Bool totalSolnOk) [protected]

Field accessors for fit parameters.

Used in separate parts of the inheritance tree. a) define

Referenced by casa::SolvableMJonesMRec::defineTotalSolnOk(), and casa::SolvableVisJonesMRec::defineTotalSolnOk().

void casa::CalMainRecord::getAntenna1 ( Int antenna1)
void casa::CalMainRecord::getArrayId ( Int arrayId)
void casa::CalMainRecord::getCalDescId ( Int calDescId)
void casa::CalMainRecord::getCalGrp ( Int calGrp)
void casa::CalMainRecord::getCalHistoryId ( Int calHistoryId)
void casa::CalMainRecord::getFieldId ( Int fieldId)
void casa::CalMainRecord::getFreqGrp ( Int freqGrp)
void casa::CalMainRecord::getGain ( Array< Complex > &  gain)
void casa::CalMainRecord::getMeasDirRef ( Int measDirRef)
void casa::CalMainRecord::getMeasFreqRef ( Int measFreqRef)
void casa::CalMainRecord::getPhaseId ( Int phaseId)
void casa::CalMainRecord::getProcessorId ( Int processorId)
void casa::CalMainRecord::getPulsarBin ( Int pulsarBin)
void casa::CalMainRecord::getPulsarGateId ( Int pulsarGateId)
void casa::CalMainRecord::getRefAnt ( Array< Int > &  refAnt)
void casa::CalMainRecord::getRefFeed ( Array< Int > &  refFeed)
void casa::CalMainRecord::getRefReceptor ( Array< Int > &  refReceptor)
void casa::CalMainRecord::getScanNo ( Int scanNo)
void casa::CalMainRecord::getStateId ( Int stateId)

b) get

void casa::CalMainRecord::gFit ( Array< Float > &  fit) [protected]
void casa::CalMainRecord::gFitWgt ( Array< Float > &  fitWgt) [protected]
void casa::CalMainRecord::gFlag ( Array< Bool > &  flag) [protected]
void casa::CalMainRecord::gSnr ( Array< Float > &  snr) [protected]
void casa::CalMainRecord::gSolnOk ( Array< Bool > &  solnOk) [protected]
void casa::CalMainRecord::gTotalFit ( Float totalFit) [protected]
void casa::CalMainRecord::gTotalFitWgt ( Float totalFitWgt) [protected]
void casa::CalMainRecord::gTotalSolnOk ( Bool totalSolnOk) [protected]

Return as record.


Member Data Documentation

Definition at line 182 of file CalMainRecord.h.


The documentation for this class was generated from the following file: