source: trunk/src/STFocus.h@ 944

Last change on this file since 944 was 896, checked in by mar637, 19 years ago

enable polarimetry in asap2

File size: 1.2 KB
RevLine 
[807]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:
[849]31 STFocus() {;}
32 STFocus(casa::Table tab);
33 STFocus( const Scantable& parent );
[807]34
35 virtual ~STFocus();
36
[849]37 STFocus& operator=(const STFocus& other);
38
[807]39 casa::uInt addEntry( casa::Float rotation, casa::Float angle,
40 casa::Float ftan);
41
[839]42 void getEntry( casa::Float& rotation, casa::Float& angle,
[896]43 casa::Float& ftan, casa::uInt id) const;
[839]44
[856]45 const casa::String& name() const { return name_; }
46
[807]47private:
48 void setup();
49 static const casa::String name_;
50 //casa::Table table_;
51 //casa::ScalarColumn<casa::uInt> freqidCol_;
52 casa::ScalarColumn<casa::Float> rotationCol_, angleCol_,
53 tanCol_;
54};
55
56}
57
58#endif
Note: See TracBrowser for help on using the repository browser.