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::CalTableDesc2 Class Reference

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

#include <CalTableDesc2.h>

Public Member Functions

 CalTableDesc2 ()
 enum {REAL=0, COMPLEX}; Default null constructor, and destructor More...
 
virtual ~CalTableDesc2 ()
 
 CalTableDesc2 (const casacore::String &jonesType, const casacore::Int &parType=VisCalEnum::COMPLEX)
 Construct from the Jones table type. More...
 
virtual casacore::TableDesccalMainDesc ()
 Return the table descriptors for the main calibration table and the cal_history and cal_desc sub-tables. More...
 
virtual casacore::TableDesc calHistoryDesc ()
 
virtual casacore::TableDesc calDescDesc ()
 
casacore::Int parType ()
 
casacore::TableDesc defaultFitDesc ()
 Generate the default table descriptor for fit parameters. More...
 
void addDesc (const casacore::TableDesc &sourceTableDesc, casacore::TableDesc &targetTableDesc)
 
void init (const casacore::String &jonesType, const casacore::Int &parType)
 

Protected Member Functions

casacore::TableDesc defaultPolyDesc ()
 Generate the default table descriptor for general polynomial parameters. More...
 
casacore::TableDesc defaultSplineDesc ()
 Generate the default table descriptor for spline polynomial parameters. More...
 
casacore::TableDesc insertDesc (const casacore::TableDesc &tableDesc, const casacore::TableDesc &insert, const casacore::String &insertAfter)
 Method to insert one table descriptor into another after a specified column name. More...
 

Private Member Functions

casacore::TableDesc defaultCalMain (const casacore::String &jonesType, const casacore::Int &parType)
 Generate the default sub-table descriptors. More...
 
casacore::TableDesc defaultCalDesc ()
 
casacore::TableDesc defaultCalHistory ()
 

Private Attributes

casacore::TableDesc itsCalMainDesc
 casacore::Table descriptors More...
 
casacore::TableDesc itsCalHistoryDesc
 
casacore::TableDesc itsCalDescDesc
 
casacore::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 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 CalTableDesc2.h.

Constructor & Destructor Documentation

casa::CalTableDesc2::CalTableDesc2 ( )

enum {REAL=0, COMPLEX}; Default null constructor, and destructor

virtual casa::CalTableDesc2::~CalTableDesc2 ( )
inlinevirtual

Definition at line 90 of file CalTableDesc2.h.

casa::CalTableDesc2::CalTableDesc2 ( const casacore::String jonesType,
const casacore::Int parType = VisCalEnum::COMPLEX 
)

Construct from the Jones table type.

Member Function Documentation

void casa::CalTableDesc2::addDesc ( const casacore::TableDesc sourceTableDesc,
casacore::TableDesc targetTableDesc 
)
virtual casacore::TableDesc casa::CalTableDesc2::calDescDesc ( )
virtual
virtual casacore::TableDesc casa::CalTableDesc2::calHistoryDesc ( )
virtual
virtual casacore::TableDesc& casa::CalTableDesc2::calMainDesc ( )
virtual

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

casacore::TableDesc casa::CalTableDesc2::defaultCalDesc ( )
private
casacore::TableDesc casa::CalTableDesc2::defaultCalHistory ( )
private
casacore::TableDesc casa::CalTableDesc2::defaultCalMain ( const casacore::String jonesType,
const casacore::Int parType 
)
private

Generate the default sub-table descriptors.

casacore::TableDesc casa::CalTableDesc2::defaultFitDesc ( )

Generate the default table descriptor for fit parameters.

casacore::TableDesc casa::CalTableDesc2::defaultPolyDesc ( )
protected

Generate the default table descriptor for general polynomial parameters.

casacore::TableDesc casa::CalTableDesc2::defaultSplineDesc ( )
protected

Generate the default table descriptor for spline polynomial parameters.

void casa::CalTableDesc2::init ( const casacore::String jonesType,
const casacore::Int parType 
)
casacore::TableDesc casa::CalTableDesc2::insertDesc ( const casacore::TableDesc tableDesc,
const casacore::TableDesc insert,
const casacore::String insertAfter 
)
protected

Method to insert one table descriptor into another after a specified column name.

casacore::Int casa::CalTableDesc2::parType ( void  )
inline

Definition at line 100 of file CalTableDesc2.h.

References parType_.

Member Data Documentation

casacore::TableDesc casa::CalTableDesc2::itsCalDescDesc
private

Definition at line 127 of file CalTableDesc2.h.

casacore::TableDesc casa::CalTableDesc2::itsCalHistoryDesc
private

Definition at line 126 of file CalTableDesc2.h.

casacore::TableDesc casa::CalTableDesc2::itsCalMainDesc
private

casacore::Table descriptors

Definition at line 125 of file CalTableDesc2.h.

casacore::Int casa::CalTableDesc2::parType_
private

Definition at line 128 of file CalTableDesc2.h.

Referenced by parType().


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