source: trunk/src/STFocus.h @ 807

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

Focus subtable for Scantable. Initial revision.

File size: 959 bytes
Line 
1//
2// C++ Interface: STFocus
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 ASAPSTFOCUS_H
13#define ASAPSTFOCUS_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
20#include "STSubTable.h"
21
22namespace asap {
23
24/**
25The Focus subtable of the Scantable
26
27@author Malte Marquarding
28*/
29class STFocus : public STSubTable {
30public:
31  STFocus( casa::Table::TableType tt = casa::Table::Memory);
32
33  virtual ~STFocus();
34
35  casa::uInt addEntry( casa::Float rotation, casa::Float angle,
36                       casa::Float ftan);
37
38private:
39  void setup();
40  static const casa::String name_;
41  //casa::Table table_;
42  //casa::ScalarColumn<casa::uInt> freqidCol_;
43  casa::ScalarColumn<casa::Float> rotationCol_, angleCol_,
44                                  tanCol_;
45};
46
47}
48
49#endif
Note: See TracBrowser for help on using the repository browser.