source: trunk/src/STCalibration.h @ 2703

Last change on this file since 2703 was 2703, checked in by Takeshi Nakazato, 11 years ago

New Development: Yes

JIRA Issue: Yes CAS-4770, 4771, 4772

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 calibration classes for sky calibration (STCalSkyPSAlma)
and Tsys calibration (STCalTsys), which are derived from base class
(STCalibration).

The caltable classes, STCalSky and STCalTsys, are renamed as STCalSkyTable
and STCalTsysTable, respectively.


File size: 945 bytes
Line 
1//
2// C++ Interface: STCalibration
3//
4// Description:
5//
6//
7// Author: Takeshi Nakazato <takeshi.nakazato@nao.ac.jp>, (C) 2012
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
12#ifndef ASAPSTCALIBRATION_H
13#define ASAPSTCALIBRATION_H
14
15#include <memory>
16
17#include <casa/aips.h>
18#include <casa/Arrays/Vector.h>
19#include <casa/BasicSL/String.h>
20#include <casa/Utilities/CountedPtr.h>
21
22#include <scimath/Mathematics/InterpolateArray1D.h>
23
24#include "Scantable.h"
25#include "STDefs.h"
26#include "STApplyTable.h"
27
28
29namespace asap {
30
31/**
32 * Calibration operations on Scantable objects
33 * @author TakeshiNakazato
34 */
35class STCalibration {
36public:
37  STCalibration(casa::CountedPtr<Scantable> &s);
38
39  virtual void calibrate() = 0;
40
41  virtual ~STCalibration() {;}
42
43  void save(casa::String name) {applytable_->save(name);}
44protected:
45  casa::CountedPtr<Scantable> scantable_;
46  casa::CountedPtr<STApplyTable> applytable_;
47};
48
49}
50#endif
Note: See TracBrowser for help on using the repository browser.