Last change
on this file since 2909 was
2786,
checked in by Takeshi Nakazato, 11 years ago
|
New Development: No
JIRA Issue: Yes CAS-4770
Ready for Test: Yes
Interface Changes: No
What Interface Changed: Please list interface changes
Test Programs: test_sdcal2
Put in Release Notes: No
Module(s): Module Names change impacts.
Description: Describe your changes here...
Bug fix on handling data selection of input Scantable object.
|
File size:
1.3 KB
|
Rev | Line | |
---|
[2703] | 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 <casa/aips.h> |
---|
| 16 | #include <casa/Arrays/Vector.h> |
---|
| 17 | #include <casa/BasicSL/String.h> |
---|
| 18 | #include <casa/Utilities/CountedPtr.h> |
---|
[2749] | 19 | #include <casa/Logging/LogIO.h> |
---|
[2757] | 20 | #include <casa/Containers/Record.h> |
---|
[2703] | 21 | |
---|
| 22 | #include <scimath/Mathematics/InterpolateArray1D.h> |
---|
| 23 | |
---|
| 24 | #include "Scantable.h" |
---|
| 25 | #include "STDefs.h" |
---|
| 26 | #include "STApplyTable.h" |
---|
[2786] | 27 | #include "STSelector.h" |
---|
[2703] | 28 | |
---|
| 29 | namespace asap { |
---|
| 30 | |
---|
| 31 | /** |
---|
| 32 | * Calibration operations on Scantable objects |
---|
| 33 | * @author TakeshiNakazato |
---|
| 34 | */ |
---|
| 35 | class STCalibration { |
---|
| 36 | public: |
---|
| 37 | STCalibration(casa::CountedPtr<Scantable> &s); |
---|
| 38 | |
---|
[2742] | 39 | void calibrate(); |
---|
[2703] | 40 | |
---|
| 41 | virtual ~STCalibration() {;} |
---|
| 42 | |
---|
| 43 | void save(casa::String name) {applytable_->save(name);} |
---|
[2747] | 44 | //const STApplyTable &applytable() {return *applytable_;} |
---|
| 45 | const casa::CountedPtr<STApplyTable> applytable() {return applytable_;} |
---|
[2757] | 46 | |
---|
| 47 | void setOption(casa::Record &rec) {options_ = rec;} |
---|
| 48 | |
---|
[2703] | 49 | protected: |
---|
[2786] | 50 | virtual void setupSelector(const STSelector &sel) = 0; |
---|
[2742] | 51 | virtual void fillCalTable() = 0; |
---|
| 52 | |
---|
| 53 | STSelector sel_; |
---|
[2703] | 54 | casa::CountedPtr<Scantable> scantable_; |
---|
| 55 | casa::CountedPtr<STApplyTable> applytable_; |
---|
[2749] | 56 | casa::LogIO os_; |
---|
[2757] | 57 | casa::Record options_; |
---|
[2703] | 58 | }; |
---|
| 59 | |
---|
| 60 | } |
---|
| 61 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.