// // C++ Interface: STCalTsys // // Description: // // // Author: Takeshi Nakazato , (C) 2012 // // Copyright: See COPYING file that comes with this distribution // // #ifndef ASAP_CALTSYS_H #define ASAP_CALTSYS_H #include #include #include #include #include #include #include #include #include "RowAccumulator.h" #include "Scantable.h" #include "STDefs.h" #include "STApplyTable.h" #include "STCalibration.h" #include "STCalTsysTable.h" namespace asap { /** * Calibration operations on Scantable objects * @author TakeshiNakazato */ class STCalTsys : public STCalibration { public: STCalTsys(casa::CountedPtr &s, vector &iflist); STCalTsys(casa::CountedPtr &s, casa::Record &iflist, bool average=false); ~STCalTsys() {;} private: void setupSelector(const STSelector &sel); virtual void appenddata(casa::uInt scanno, casa::uInt cycleno, casa::uInt beamno, casa::uInt ifno, casa::uInt polno, casa::uInt freqid, casa::Double time, casa::Float elevation, const casa::Vector &any_data, const casa::Vector &channel_flag); vector iflist_; casa::Record tsysspw_; bool do_average_; }; } #endif