source: trunk/src/STCalTsys.h@ 2701

Last change on this file since 2701 was 2696, checked in by Takeshi Nakazato, 12 years ago

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

First version of single dish apply table.

STApplyTable: base class
STCalTsys: apply table for Tsys calibration
STCalSky: apply table for sky calibration


File size: 1.5 KB
Line 
1//
2// C++ Interface: STCalTsys
3//
4// Description:
5//
6// ApplyTable for Tsys calibration.
7//
8// Author: Takeshi Nakazato
9//
10// Copyright: See COPYING file that comes with this distribution
11//
12//
13#ifndef ASAPCALTSYS_H
14#define ASAPCALTSYS_H
15
16#include <tables/Tables/ArrayColumn.h>
17#include <tables/Tables/ScalarColumn.h>
18
19#include "Scantable.h"
20#include "STApplyTable.h"
21
22namespace asap {
23
24/**
25ApplyTable for Tsys calibration
26
27@author Takeshi Nakazato
28@date $Date:$
29@version $Revision:$
30*/
31class STCalTsys : public STApplyTable {
32public:
33 STCalTsys() {;}
34 STCalTsys(const Scantable& parent);
35
36 virtual ~STCalTsys();
37
38 void setup();
39 const casa::String& name() const {return name_;};
40
41 void attachOptionalColumns();
42
43 void setdata(casa::uInt irow, casa::uInt scanno, casa::uInt cycleno,
44 casa::uInt beamno, casa::uInt ifno,
45 casa::uInt polno, casa::Double time, casa::Float elevation,
46 casa::Vector<casa::Float> tsys);
47 void appenddata(casa::uInt scanno, casa::uInt cycleno,
48 casa::uInt beamno, casa::uInt ifno, casa::uInt polno,
49 casa::Double time, casa::Float elevation,
50 casa::Vector<casa::Float> tsys);
51
52 casa::Vector<casa::Float> getElevation() {return elCol_.getColumn();}
53 casa::Matrix<casa::Float> getTsys() {return tsysCol_.getColumn();}
54
55private:
56 static const casa::String name_ ;
57 casa::ArrayColumn<casa::Float> tsysCol_;
58 casa::ScalarColumn<casa::Float> elCol_;
59};
60
61}
62
63#endif
Note: See TracBrowser for help on using the repository browser.