Changeset 3046 for trunk/src/python_CalibrationManager.cpp
- Timestamp:
- 08/07/15 17:55:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/python_CalibrationManager.cpp
r2922 r3046 8 8 #include <vector> 9 9 10 #include "CalibrationManager .h"10 #include "CalibrationManagerWrapper.h" 11 11 #include "ScantableWrapper.h" 12 12 … … 17 17 18 18 void python_CalibrationManager() { 19 class_<CalibrationManager >("_calmanager")19 class_<CalibrationManagerWrapper>("_calmanager") 20 20 .def( init <> () ) 21 .def("set_data", &CalibrationManager ::setScantable)22 .def("set_data", &CalibrationManager ::setScantableByName)23 .def("add_applytable", &CalibrationManager ::addApplyTable)24 .def("add_skytable", &CalibrationManager ::addSkyTable)25 .def("add_tsystable", &CalibrationManager ::addTsysTable)26 .def("set_calmode", &CalibrationManager ::setMode)27 .def("set_time_interpolation", &CalibrationManager ::setTimeInterpolation,21 .def("set_data", &CalibrationManagerWrapper::setScantable) 22 .def("set_data", &CalibrationManagerWrapper::setScantableByName) 23 .def("add_applytable", &CalibrationManagerWrapper::addApplyTable) 24 .def("add_skytable", &CalibrationManagerWrapper::addSkyTable) 25 .def("add_tsystable", &CalibrationManagerWrapper::addTsysTable) 26 .def("set_calmode", &CalibrationManagerWrapper::setMode) 27 .def("set_time_interpolation", &CalibrationManagerWrapper::setTimeInterpolation, 28 28 (boost::python::arg("interp"), 29 29 boost::python::arg("order")=-1)) 30 .def("set_freq_interpolation", &CalibrationManager ::setFrequencyInterpolation,30 .def("set_freq_interpolation", &CalibrationManagerWrapper::setFrequencyInterpolation, 31 31 (boost::python::arg("interp"), 32 32 boost::python::arg("order")=-1)) 33 .def("set_calibration_options", &CalibrationManager ::setCalibrationOptions)34 .def("reset", &CalibrationManager ::reset)35 .def("set_tsys_spw", &CalibrationManager ::setTsysSpw)36 .def("set_tsys_spw_withrange", &CalibrationManager ::setTsysSpwWithRange,33 .def("set_calibration_options", &CalibrationManagerWrapper::setCalibrationOptions) 34 .def("reset", &CalibrationManagerWrapper::reset) 35 .def("set_tsys_spw", &CalibrationManagerWrapper::setTsysSpw) 36 .def("set_tsys_spw_withrange", &CalibrationManagerWrapper::setTsysSpwWithRange, 37 37 (boost::python::arg("spwlist"), 38 38 boost::python::arg("average")=false)) 39 .def("set_tsys_transfer", &CalibrationManager ::setTsysTransfer)40 .def("calibrate", &CalibrationManager ::calibrate)41 .def("apply", &CalibrationManager ::apply,39 .def("set_tsys_transfer", &CalibrationManagerWrapper::setTsysTransfer) 40 .def("calibrate", &CalibrationManagerWrapper::calibrate) 41 .def("apply", &CalibrationManagerWrapper::apply, 42 42 (boost::python::arg("insitu")=false, 43 43 boost::python::arg("filltsys")=true)) 44 .def("save_caltable", &CalibrationManager ::saveCaltable)45 .def("split", &CalibrationManager ::split)44 .def("save_caltable", &CalibrationManagerWrapper::saveCaltable) 45 .def("split", &CalibrationManagerWrapper::split) 46 46 ; 47 47
Note: See TracChangeset
for help on using the changeset viewer.