casa
$Rev:20696$
|
CalTableDesc: Define the format of calibration tables. More...
#include <CalTableDesc2.h>
Public Member Functions | |
CalTableDesc2 () | |
enum {REAL=0, COMPLEX}; Default null constructor, and destructor | |
virtual | ~CalTableDesc2 () |
CalTableDesc2 (const String &jonesType, const Int &parType=VisCalEnum::COMPLEX) | |
Construct from the Jones table type. | |
virtual TableDesc & | calMainDesc () |
Return the table descriptors for the main calibration table and the cal_history and cal_desc sub-tables. | |
virtual TableDesc | calHistoryDesc () |
virtual TableDesc | calDescDesc () |
const Int | parType () |
TableDesc | defaultFitDesc () |
Generate the default table descriptor for fit parameters. | |
void | addDesc (const TableDesc &sourceTableDesc, TableDesc &targetTableDesc) |
void | init (const String &jonesType, const Int &parType) |
Protected Member Functions | |
TableDesc | defaultPolyDesc () |
Generate the default table descriptor for general polynomial parameters. | |
TableDesc | defaultSplineDesc () |
Generate the default table descriptor for spline polynomial parameters. | |
TableDesc | insertDesc (const TableDesc &tableDesc, const TableDesc &insert, const String &insertAfter) |
Method to insert one table descriptor into another after a specified column name. | |
Private Member Functions | |
TableDesc | defaultCalMain (const String &jonesType, const Int &parType) |
Generate the default sub-table descriptors. | |
TableDesc | defaultCalDesc () |
TableDesc | defaultCalHistory () |
Private Attributes | |
TableDesc | itsCalMainDesc |
Table descriptors. | |
TableDesc | itsCalHistoryDesc |
TableDesc | itsCalDescDesc |
Int | parType_ |
CalTableDesc: Define the format of calibration tables.
Public interface
From "Calibration table" and "descriptor".
CalTableDesc defines the format of calibration tables 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.
Definition at line 84 of file CalTableDesc2.h.
enum {REAL=0, COMPLEX}; Default null constructor, and destructor
virtual casa::CalTableDesc2::~CalTableDesc2 | ( | ) | [inline, virtual] |
Definition at line 90 of file CalTableDesc2.h.
casa::CalTableDesc2::CalTableDesc2 | ( | const String & | jonesType, |
const Int & | parType = VisCalEnum::COMPLEX |
||
) |
Construct from the Jones table type.
void casa::CalTableDesc2::addDesc | ( | const TableDesc & | sourceTableDesc, |
TableDesc & | targetTableDesc | ||
) |
virtual TableDesc casa::CalTableDesc2::calDescDesc | ( | ) | [virtual] |
virtual TableDesc casa::CalTableDesc2::calHistoryDesc | ( | ) | [virtual] |
virtual TableDesc& casa::CalTableDesc2::calMainDesc | ( | ) | [virtual] |
Return the table descriptors for the main calibration table and the cal_history and cal_desc sub-tables.
TableDesc casa::CalTableDesc2::defaultCalDesc | ( | ) | [private] |
TableDesc casa::CalTableDesc2::defaultCalHistory | ( | ) | [private] |
TableDesc casa::CalTableDesc2::defaultCalMain | ( | const String & | jonesType, |
const Int & | parType | ||
) | [private] |
Generate the default sub-table descriptors.
Generate the default table descriptor for fit parameters.
TableDesc casa::CalTableDesc2::defaultPolyDesc | ( | ) | [protected] |
Generate the default table descriptor for general polynomial parameters.
TableDesc casa::CalTableDesc2::defaultSplineDesc | ( | ) | [protected] |
Generate the default table descriptor for spline polynomial parameters.
void casa::CalTableDesc2::init | ( | const String & | jonesType, |
const Int & | parType | ||
) |
TableDesc casa::CalTableDesc2::insertDesc | ( | const TableDesc & | tableDesc, |
const TableDesc & | insert, | ||
const String & | insertAfter | ||
) | [protected] |
Method to insert one table descriptor into another after a specified column name.
const Int casa::CalTableDesc2::parType | ( | ) | [inline] |
Definition at line 100 of file CalTableDesc2.h.
References parType_.
TableDesc casa::CalTableDesc2::itsCalDescDesc [private] |
Definition at line 127 of file CalTableDesc2.h.
Definition at line 126 of file CalTableDesc2.h.
TableDesc casa::CalTableDesc2::itsCalMainDesc [private] |
Table descriptors.
Definition at line 125 of file CalTableDesc2.h.
Int casa::CalTableDesc2::parType_ [private] |
Definition at line 128 of file CalTableDesc2.h.
Referenced by parType().