CalTable.h
Classes
- CalTable -- CalTable: Calibration table access and creation (full description)
Interface
- Public Members
- CalTable()
- virtual ~CalTable()
- CalTable (const String& tableName, CalTableDesc& ctableDesc, Table::TableOption access = Table::New)
- CalTable (const String& tableName, Table::TableOption access = Table::Old)
- CalTable (const Table& table)
- CalTable (const CalTable& other)
- CalTable& operator= (const CalTable& other)
- CalTable sort (const Block <String>& columnNames, Sort::Order order = Sort::Ascending, Sort::Option option = Sort::HeapSort)
- void sort2 (const Block <String>& columnNames, Sort::Order order = Sort::Ascending, Sort::Option option = Sort::HeapSort)
- CalTable select (const String& calSelect)
- void select2 (const String& calSelect)
- Int nRowMain() const
- Int nRowDesc() const
- Int nRowHistory() const
- void addRowMain (uInt nrrow = 1, Bool initialize = False)
- void addRowDesc (uInt nrrow = 1, Bool initialize = False)
- void addRowHistory (uInt nrrow = 1, Bool initialize = False)
- Record getRowMain (const Int& jrow)
- Record getRowDesc (const Int& jrow)
- Record getRowHistory (const Int& jrow)
- void putRowMain (const Int& jrow, CalMainRecord& tableRec)
- void putRowDesc (const Int& jrow, CalDescRecord& tableRec)
- void putRowHistory (const Int& jrow, CalHistoryRecord& tableRec)
- virtual Int maxAntenna()
- Int numberTimeSlots (const Double& fracError)
- Protected Members
- void createCalTable (const String& tableName, CalTableDesc& ctableDesc, Table::TableOption access = Table::New)
- void openCalTable (const String& tableName, Table::TableOption access = Table::Old)
- Table& calMainAsTable()
- Table& calDescAsTable()
- Table& calHistoryAsTable()
- const Table& calMainAsTable() const
- const Table& calDescAsTable() const
- const Table& calHistoryAsTable() const
Prerequisite
Etymology
From "calibration" and "table".
Synopsis
The CalTable classes provide basic access to calibration tables. This
includes the creation of calibration tables, sorting and selection
capabilities, and basic data access. Specializations for baseline-based,
time-variable and solvable VisJones types, and sub-types, are provided
through inheritance.
Example
Motivation
This class is used by other calibration table accessors and iterators.
To Do
(i) Generic synthesis selection
Member Description
Default null constructor, and destructor
Construct from a specified table name, calibration table descriptor
and table access option. Used for creating new tables.
CalTable (const String& tableName, Table::TableOption access = Table::Old)
Construct from a specified table name, and access option. Used
for accessing existing tables.
Construct from an existing table object
CalTable (const CalTable& other)
Copy constructor
CalTable& operator= (const CalTable& other)
Assignment operator
CalTable sort (const Block <String>& columnNames, Sort::Order order = Sort::Ascending, Sort::Option option = Sort::HeapSort)
Sort (cal_main)
void sort2 (const Block <String>& columnNames, Sort::Order order = Sort::Ascending, Sort::Option option = Sort::HeapSort)
Sort (cal_main) IN PLACE
CalTable select (const String& calSelect)
Apply selection to the calibration table
Apply selection to the calibration table IN PLACE
Return number of rows in cal_main, cal_desc or cal_history
void addRowMain (uInt nrrow = 1, Bool initialize = False)
Add rows to cal_main, cal_desc or cal_history
void addRowDesc (uInt nrrow = 1, Bool initialize = False)
void addRowHistory (uInt nrrow = 1, Bool initialize = False)
Get a row from cal_main, cal_desc or cal_history
Put a row to cal_main, cal_desc or cal_history
Return the maximum antenna number in the table
Return the number of unique time slots in the table
Create a new table
Open an existing table
Return cal_main and sub-tables as Table references