Changeset 2593 for trunk/src/python_STGrid.cpp
- Timestamp:
- 07/09/12 16:54:10 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/python_STGrid.cpp
r2526 r2593 9 9 10 10 #include "STGrid.h" 11 //#include "STGridWrapper.h"11 #include "ScantableWrapper.h" 12 12 13 13 using namespace boost::python; … … 17 17 18 18 void python_STGrid() { 19 //class_<STGridWrapper>("stgrid")20 19 class_<STGrid>("stgrid") 21 20 .def( init <> () ) … … 35 34 .def("_save", &STGrid::saveData) 36 35 ; 36 37 class_<STGrid2>("stgrid2") 38 .def( init <> () ) 39 .def( init < const ScantableWrapper & > () ) 40 .def( init < const std::vector<ScantableWrapper> & > () ) 41 .def("_setif", &STGrid2::setIF) 42 .def("_setpollist", &STGrid2::setPolList) 43 .def("_setscanlist", &STGrid2::setScanList) 44 .def("_defineimage", &STGrid2::defineImage) 45 .def("_setfunc", &STGrid2::setFunc) 46 .def("_grid", &STGrid2::grid) 47 .def("_setin", &STGrid2::setScantable) 48 .def("_setfiles", &STGrid2::setScantableList) 49 .def("_setweight", &STGrid2::setWeight) 50 .def("_enableclip", &STGrid2::enableClip) 51 .def("_disableclip", &STGrid2::disableClip) 52 .def("_get", &STGrid2::getResultAsScantable) 53 ; 54 37 55 }; 38 56
Note: See TracChangeset
for help on using the changeset viewer.