source: branches/Release2.1.2/src/STFocus.h@ 2147

Last change on this file since 2147 was 957, checked in by mar637, 19 years ago

Polarisation changes according to Ticket #8; Fix Ticket #10

File size: 1.6 KB
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() {;}
32 STFocus(casa::Table tab);
33 STFocus( const Scantable& parent );
34
35 virtual ~STFocus();
36
37 STFocus& operator=(const STFocus& other);
38
39 casa::uInt addEntry( casa::Float faxis, casa::Float ftan,
40 casa::Float frot, casa::Float hand=1.0f,
41 casa::Float mount=0.0f, casa::Float user=0.0f,
42 casa::Float xyphase=0.0f, casa::Float xyphaseoffset=0.0f);
43
44 void getEntry( casa::Float& fax, casa::Float& ftan,
45 casa::Float& frot, casa::Float& hand,
46 casa::Float& mount, casa::Float& user,
47 casa::Float& xyphase, casa::Float& xyphaseoffset,
48 casa::uInt id) const;
49
50 casa::Float getTotalFeedAngle(casa::uInt id) const;
51 casa::Float getFeedHand(casa::uInt id) const;
52
53 const casa::String& name() const { return name_; }
54
55private:
56 void setup();
57 static const casa::String name_;
58 casa::ScalarColumn<casa::Float> rotationCol_, axisCol_,
59 tanCol_,handCol_,
60 mountCol_,userCol_,
61 xyphCol_,xyphoffCol_;
62};
63
64}
65
66#endif
Note: See TracBrowser for help on using the repository browser.