casa::CTDesc Class Reference

CTDesc: Define the format of calibration tables. More...

#include <CTDesc.h>

List of all members.

Public Member Functions

 CTDesc ()
 Default null constructor, and destructor.
virtual ~CTDesc ()
 CTDesc (Bool addObsId)
 Alternative ctor that enables OBS_ID opt-out.
 CTDesc (const String &partype, const String &msname="none", const String &viscal="unknown", const String &polbasis="circ")
 Construct from some external info.
virtual TableDesc calMainDesc ()
 Return the table descriptors for the main calibration table and the cal_history and cal_desc sub-tables.

Protected Member Functions

TableDesc insertDesc (const TableDesc &tableDesc, const TableDesc &insert, const String &insertAfter)
 virtual TableDesc calMainDesc(); virtual TableDesc calHistoryDesc();

Private Member Functions

TableDesc defaultCalMain (const String &partype="", const String &msname="none", const String &viscal="unknown", const String &polbasis="circ")
 Generate the default sub-table descriptors.

Private Attributes

Bool addObsId_
 TableDesc defaultCalHistory();.
TableDesc itsCalMainDesc
 Table descriptors.
String MSName_p
 TableDesc itsCalHistoryDesc;.
String PolBasis_p

Detailed Description

CTDesc: Define the format of calibration tables.

Intended use:

Public interface

Prerequisite

Etymology

From "Calibration table" and "descriptor".

Synopsis

CTDesc defines the format of NewCalTable in terms of table descriptors TableDesc , as defined in the Table system. This is a base class and defines the overall calibration table structure. Specializations for both antenna-based (ViJones and SkyJones) and baseline-based (MJones) calibration tables are provided through inheritance. At present this set of classes returns the default calibration table descriptors for a given calibration table type.

Example

Motivation

This inheritance tree defines the format of all calibration table types, both antenna- and baseline-based, to provide a unified and consistent interface to their representation as aips++ tables. An overall structure common to all calibration tables is maintained as far as possible, with common column names throughout. This class tree is primarily used by the CalTable classes.

Definition at line 84 of file CTDesc.h.


Constructor & Destructor Documentation

casa::CTDesc::CTDesc (  ) 

Default null constructor, and destructor.

virtual casa::CTDesc::~CTDesc (  )  [inline, virtual]

Definition at line 89 of file CTDesc.h.

casa::CTDesc::CTDesc ( Bool  addObsId  ) 

Alternative ctor that enables OBS_ID opt-out.

casa::CTDesc::CTDesc ( const String &  partype,
const String &  msname = "none",
const String &  viscal = "unknown",
const String &  polbasis = "circ" 
)

Construct from some external info.


Member Function Documentation

virtual TableDesc casa::CTDesc::calMainDesc (  )  [virtual]

Return the table descriptors for the main calibration table and the cal_history and cal_desc sub-tables.

TableDesc casa::CTDesc::defaultCalMain ( const String &  partype = "",
const String &  msname = "none",
const String &  viscal = "unknown",
const String &  polbasis = "circ" 
) [private]

Generate the default sub-table descriptors.

TableDesc casa::CTDesc::insertDesc ( const TableDesc &  tableDesc,
const TableDesc &  insert,
const String &  insertAfter 
) [protected]

virtual TableDesc calMainDesc(); virtual TableDesc calHistoryDesc();

a specified column name.


Member Data Documentation

Bool casa::CTDesc::addObsId_ [private]

TableDesc defaultCalHistory();.

Support (discouraged) ctor that can opt out of OBSERVATION_ID

Definition at line 121 of file CTDesc.h.

TableDesc casa::CTDesc::itsCalMainDesc [private]

Table descriptors.

Definition at line 124 of file CTDesc.h.

String casa::CTDesc::MSName_p [private]

TableDesc itsCalHistoryDesc;.

Definition at line 126 of file CTDesc.h.

String casa::CTDesc::PolBasis_p [private]

Definition at line 127 of file CTDesc.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1