source: trunk/src/STCalibration.cpp@ 2835

Last change on this file since 2835 was 2786, 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: 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
Line 
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
16using namespace casa;
17
18namespace asap {
19STCalibration::STCalibration(CountedPtr<Scantable> &s)
20 : scantable_(s)
21{
22}
23
24void STCalibration::calibrate()
25{
26 STSelector selOrg = scantable_->getSelection();
27 setupSelector(selOrg);
28 scantable_->setSelection(sel_);
29
30 fillCalTable();
31
32 scantable_->setSelection(selOrg);
33}
34
35}
Note: See TracBrowser for help on using the repository browser.