Ignore:
Timestamp:
01/22/13 19:01:34 (11 years ago)
Author:
Takeshi Nakazato
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STCalibration.h

    r2703 r2742  
    2626#include "STApplyTable.h"
    2727
     28class CalibrationManager;
    2829
    2930namespace asap {
     
    3435 */
    3536class STCalibration {
     37
     38  friend class CalibrationManager;
     39
    3640public:
    3741  STCalibration(casa::CountedPtr<Scantable> &s);
    3842
    39   virtual void calibrate() = 0;
     43  void calibrate();
    4044
    4145  virtual ~STCalibration() {;}
    4246
    4347  void save(casa::String name) {applytable_->save(name);}
     48  const STApplyTable &applytable() {return *applytable_;}
    4449protected:
     50  virtual void setupSelector() = 0;
     51  virtual void fillCalTable() = 0;
     52
     53  STSelector sel_;
    4554  casa::CountedPtr<Scantable> scantable_;
    4655  casa::CountedPtr<STApplyTable> applytable_;
Note: See TracChangeset for help on using the changeset viewer.