Last change
on this file since 2755 was 2749, checked in by Takeshi Nakazato, 12 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: List test programs
Put in Release Notes: Yes/No
Module(s): Module Names change impacts.
Description: Describe your changes here...
Bug fix for the case when only one row is selected in a certain iteration
loop.
|
File size:
1.2 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 <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>
|
---|
[2749] | 21 | #include <casa/Logging/LogIO.h>
|
---|
[2703] | 22 |
|
---|
| 23 | #include <scimath/Mathematics/InterpolateArray1D.h>
|
---|
| 24 |
|
---|
| 25 | #include "Scantable.h"
|
---|
| 26 | #include "STDefs.h"
|
---|
| 27 | #include "STApplyTable.h"
|
---|
| 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_;}
|
---|
[2703] | 46 | protected:
|
---|
[2742] | 47 | virtual void setupSelector() = 0;
|
---|
| 48 | virtual void fillCalTable() = 0;
|
---|
| 49 |
|
---|
| 50 | STSelector sel_;
|
---|
[2703] | 51 | casa::CountedPtr<Scantable> scantable_;
|
---|
| 52 | casa::CountedPtr<STApplyTable> applytable_;
|
---|
[2749] | 53 | casa::LogIO os_;
|
---|
[2703] | 54 | };
|
---|
| 55 |
|
---|
| 56 | }
|
---|
| 57 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.