casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
casa::CTDesc Class Reference

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

#include <CTDesc.h>

Public Member Functions

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

Protected Member Functions

casacore::TableDesc insertDesc (const casacore::TableDesc &tableDesc, const casacore::TableDesc &insert, const casacore::String &insertAfter)
 virtual casacore::TableDesc calMainDesc(); virtual casacore::TableDesc calHistoryDesc(); More...
 

Private Member Functions

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

Private Attributes

casacore::Bool addObsId_
 casacore::TableDesc defaultCalHistory(); More...
 
casacore::TableDesc itsCalMainDesc
 casacore::Table descriptors More...
 
casacore::String MSName_p
 casacore::TableDesc itsCalHistoryDesc; More...
 
casacore::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 casacore::TableDesc, as defined in the casacore::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 ( )
inlinevirtual

Definition at line 89 of file CTDesc.h.

casa::CTDesc::CTDesc ( casacore::Bool  addObsId)

Alternative ctor that enables OBS_ID opt-out.

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

Construct from some external info.

Member Function Documentation

virtual casacore::TableDesc casa::CTDesc::calMainDesc ( )
virtual

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

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

Generate the default sub-table descriptors.

casacore::TableDesc casa::CTDesc::insertDesc ( const casacore::TableDesc tableDesc,
const casacore::TableDesc insert,
const casacore::String insertAfter 
)
protected

virtual casacore::TableDesc calMainDesc(); virtual casacore::TableDesc calHistoryDesc();

a specified column name.

Member Data Documentation

casacore::Bool casa::CTDesc::addObsId_
private

casacore::TableDesc defaultCalHistory();

Support (discouraged) ctor that can opt out of OBSERVATION_ID

Definition at line 121 of file CTDesc.h.

casacore::TableDesc casa::CTDesc::itsCalMainDesc
private

casacore::Table descriptors

Definition at line 124 of file CTDesc.h.

casacore::String casa::CTDesc::MSName_p
private

casacore::TableDesc itsCalHistoryDesc;

Definition at line 126 of file CTDesc.h.

casacore::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: