// // C++ Interface: STCalibration // // Description: // // // Author: Takeshi Nakazato , (C) 2012 // // Copyright: See COPYING file that comes with this distribution // // #ifndef ASAPSTCALIBRATION_H #define ASAPSTCALIBRATION_H #include #include #include #include #include #include #include "Scantable.h" #include "STDefs.h" #include "STApplyTable.h" namespace asap { /** * Calibration operations on Scantable objects * @author TakeshiNakazato */ class STCalibration { public: STCalibration(casa::CountedPtr &s); void calibrate(); virtual ~STCalibration() {;} void save(casa::String name) {applytable_->save(name);} //const STApplyTable &applytable() {return *applytable_;} const casa::CountedPtr applytable() {return applytable_;} protected: virtual void setupSelector() = 0; virtual void fillCalTable() = 0; STSelector sel_; casa::CountedPtr scantable_; casa::CountedPtr applytable_; }; } #endif