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

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

#include <CalTableDesc2.h>

List of all members.

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 TableDesccalMainDesc ()
 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_

Detailed Description

CalTableDesc: Define the format of calibration tables.

Intended use:

Public interface

Prerequisite

Etymology

From "Calibration table" and "descriptor".

Synopsis

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.

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 CalTableDesc2.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

void casa::CalTableDesc2::addDesc ( const TableDesc sourceTableDesc,
TableDesc targetTableDesc 
)

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

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.

Generate the default table descriptor for general polynomial parameters.

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_.


Member Data Documentation

Definition at line 127 of file CalTableDesc2.h.

Definition at line 126 of file CalTableDesc2.h.

Table descriptors.

Definition at line 125 of file CalTableDesc2.h.

Definition at line 128 of file CalTableDesc2.h.

Referenced by parType().


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