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

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

#include <CTMainRecord.h>

List of all members.

Public Member Functions

 CTMainRecord ()
 Default null constructor, and destructor.
 ~CTMainRecord ()
 CTMainRecord (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 defineFieldId (const Int &fieldId)
void defineSpwId (const Int &spwId)
void defineAntenna1 (const Int &antenna1)
void defineAntenna2 (const Int &antenna2)
void defineInterval (const Double &interval)
void defineScanNo (const Int &scanNo)
void defineParam (const Array< Complex > &param)
void defineParamerr (const Array< Float > &paramerr)
void defineFlag (const Array< Bool > &flag)
void defineSnr (const Array< Float > &snr)
void defineWeight (const Array< Float > &weight)
void getTime (Double &time)
 b) get
void getFieldId (Int &fieldId)
void getSpwId (Int &spwId)
void getAntenna1 (Int &antenna1)
void getAntenna2 (Int &antenna2)
void getInterval (Double &interval)
void getScanNo (Int &scanNo)
void getParam (Array< Complex > &param)
void getParamerr (Array< Float > &paramerr)
void getFlag (Array< Bool > &flag)
void getSnr (Array< Float > &snr)
void getWeight (Array< Float > &weight)

Protected Member Functions

void addRec (const Record &newRec)
 Add to itsRecord.

Private Attributes

Record itsRecord

Detailed Description

CTMainRecord: Calibration table record access and creation.

Intended use:

Public interface

Prerequisite

Etymology

From "calibration main table" and "record".

Synopsis

The CTMainRecord 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 CTMainRecord.h.


Constructor & Destructor Documentation

Default null constructor, and destructor.

Definition at line 79 of file CTMainRecord.h.

Construct from an existing record.


Member Function Documentation

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

Add to itsRecord.

void casa::CTMainRecord::defineAntenna1 ( const Int antenna1)
void casa::CTMainRecord::defineAntenna2 ( const Int antenna2)
void casa::CTMainRecord::defineFieldId ( const Int fieldId)
void casa::CTMainRecord::defineFlag ( const Array< Bool > &  flag)
void casa::CTMainRecord::defineInterval ( const Double interval)
void casa::CTMainRecord::defineParam ( const Array< Complex > &  param)
void casa::CTMainRecord::defineParamerr ( const Array< Float > &  paramerr)
void casa::CTMainRecord::defineScanNo ( const Int scanNo)
void casa::CTMainRecord::defineSnr ( const Array< Float > &  snr)
void casa::CTMainRecord::defineSpwId ( const Int spwId)
void casa::CTMainRecord::defineTime ( const Double time)

Field accessors a) define.

void casa::CTMainRecord::defineTime ( const MEpoch time)
void casa::CTMainRecord::defineWeight ( const Array< Float > &  weight)
void casa::CTMainRecord::getAntenna1 ( Int antenna1)
void casa::CTMainRecord::getAntenna2 ( Int antenna2)
void casa::CTMainRecord::getFieldId ( Int fieldId)
void casa::CTMainRecord::getFlag ( Array< Bool > &  flag)
void casa::CTMainRecord::getParam ( Array< Complex > &  param)
void casa::CTMainRecord::getParamerr ( Array< Float > &  paramerr)
void casa::CTMainRecord::getScanNo ( Int scanNo)
void casa::CTMainRecord::getSpwId ( Int spwId)

b) get

void casa::CTMainRecord::getWeight ( Array< Float > &  weight)

Return as record.


Member Data Documentation

Definition at line 122 of file CTMainRecord.h.


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