casa
$Rev:20696$
|
CTDesc: Define the format of calibration tables. More...
#include <CTDesc.h>
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 |
CTDesc: Define the format of calibration tables.
Public interface
From "Calibration table" and "descriptor".
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.
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.
Default null constructor, and destructor.
virtual casa::CTDesc::~CTDesc | ( | ) | [inline, virtual] |
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.
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.
Bool casa::CTDesc::addObsId_ [private] |
TableDesc casa::CTDesc::itsCalMainDesc [private] |
String casa::CTDesc::MSName_p [private] |
String casa::CTDesc::PolBasis_p [private] |