Last change
on this file since 2743 was
2742,
checked in by Takeshi Nakazato, 11 years ago
|
New Development: No
JIRA Issue: Yes CAS-4770
Ready for Test: Yes
Interface Changes: Yes/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...
Defined python interface for calibration that supports both
on-the-fly and interferometry-style (generate caltable and apply)
calibration.
|
File size:
579 bytes
|
Rev | Line | |
---|
[2703] | 1 | // |
---|
| 2 | // C++ Implementation: 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 | |
---|
| 13 | #include "STCalibration.h" |
---|
| 14 | #include "STCalSkyTable.h" |
---|
| 15 | |
---|
| 16 | using namespace casa; |
---|
| 17 | |
---|
| 18 | namespace asap { |
---|
| 19 | STCalibration::STCalibration(CountedPtr<Scantable> &s) |
---|
| 20 | : scantable_(s) |
---|
| 21 | { |
---|
| 22 | } |
---|
| 23 | |
---|
[2742] | 24 | void STCalibration::calibrate() |
---|
| 25 | { |
---|
| 26 | STSelector selOrg = scantable_->getSelection(); |
---|
| 27 | setupSelector(); |
---|
| 28 | scantable_->setSelection(sel_); |
---|
| 29 | |
---|
| 30 | fillCalTable(); |
---|
| 31 | |
---|
| 32 | scantable_->setSelection(selOrg); |
---|
[2703] | 33 | } |
---|
[2742] | 34 | |
---|
| 35 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.