Last change
on this file since 2886 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:
585 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(); |
---|
[2786] | 27 | setupSelector(selOrg); |
---|
[2742] | 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.