source: trunk/src/STTcal.h @ 810

Last change on this file since 810 was 810, checked in by mar637, 18 years ago

Tcal subtable for Scantable. Initial revision.

File size: 936 bytes
Line 
1//
2// C++ Interface: STTcal
3//
4// Description:
5//
6//
7// Author: Malte Marquarding <asap@atnf.csiro.au>, (C) 2006
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
12#ifndef ASAPSTTCAL_H
13#define ASAPSTTCAL_H
14
15#include <casa/aips.h>
16#include <casa/BasicSL/String.h>
17#include <tables/Tables/Table.h>
18#include <tables/Tables/ScalarColumn.h>
19#include <tables/Tables/ArrayColumn.h>
20
21#include "STSubTable.h"
22
23namespace asap {
24
25/**
26The Tcal subtable of the Scantable
27
28@author Malte Marquarding
29*/
30class STTcal : public STSubTable {
31public:
32  STTcal( casa::Table::TableType tt = casa::Table::Memory);
33
34  virtual ~STTcal();
35
36  casa::uInt addEntry( const casa::String& time,
37                       const casa::Vector<casa::Float>& tcal);
38
39private:
40  void setup();
41  static const casa::String name_;
42  //casa::Table table_;
43  casa::ArrayColumn<casa::Float> tcalCol_;
44  casa::ScalarColumn<casa::String> timeCol_;
45};
46
47}
48
49#endif
Note: See TracBrowser for help on using the repository browser.