- Timestamp:
- 02/06/13 19:45:36 (12 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/CalibrationManager.cpp
r2757 r2762 58 58 // always plain table 59 59 target_ = new Scantable(s, Table::Plain); 60 } 61 62 void CalibrationManager::addApplyTable(const string &c) 63 { 64 STCalEnum::CalType caltype = STApplyTable::getCalType(c); 65 if (caltype == STCalEnum::CalTsys) { 66 addTsysTable(c); 67 } 68 else if (caltype != STCalEnum::NoType) { 69 // should be sky table 70 addSkyTable(c); 71 } 72 else { 73 os_.origin(LogOrigin("CalibrationManager","addCalTable",WHERE)); 74 os_ << LogIO::WARN << "Table " << c << " is not ApplyTable." << LogIO::POST ; 75 } 60 76 } 61 77 -
trunk/src/CalibrationManager.h
r2757 r2762 43 43 void setScantable(ScantableWrapper &s); 44 44 void setScantableByName(const std::string &s); 45 void addApplyTable(const std::string &c); 45 46 void addSkyTable(const std::string &c); 46 47 void addTsysTable(const std::string &c); -
trunk/src/python_CalibrationManager.cpp
r2757 r2762 21 21 .def("set_data", &CalibrationManager::setScantable) 22 22 .def("set_data", &CalibrationManager::setScantableByName) 23 .def("add_applytable", &CalibrationManager::addApplyTable) 23 24 .def("add_skytable", &CalibrationManager::addSkyTable) 24 25 .def("add_tsystable", &CalibrationManager::addTsysTable)
Note:
See TracChangeset
for help on using the changeset viewer.