Changeset 896 for trunk/src/python_Scantable.cpp
- Timestamp:
- 03/10/06 12:09:29 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/python_Scantable.cpp
r884 r896 63 63 .def("_setInstrument", &ScantableWrapper::setInstrument) 64 64 .def("_getspectrum", &ScantableWrapper::getSpectrum, 65 (boost::python::arg("whichrow")=0)) 66 /* 67 .def("nstokes", &ScantableWrapper::nStokes) 68 .def("_getstokesspectrum", &ScantableWrapper::getStokesSpectrum, 69 (boost::python::arg("whichrow")=0), 70 (boost::python::arg("linpol")=false) ) 71 .def("_stokestopolspectrum", &ScantableWrapper::stokesToPolSpectrum, 72 (boost::python::arg("whichrow")=0), 73 (boost::python::arg("linear")=false), 74 (boost::python::arg("thepol")=-1) ) 75 */ 65 (arg("whichrow")=0, arg("poltype")=std::string("linear")) ) 66 .def("poltype", &ScantableWrapper::getPolType ) 76 67 .def("_getpolarizationlabel", &ScantableWrapper::getPolarizationLabel, 77 (boost::python::arg("linear")=false), 78 (boost::python::arg("stokes")=false), 79 (boost::python::arg("linpol")=false) ) 80 // (boost::python::arg("thepol")=0) ) // Boost fails with 4 arguments 81 .def("_setspectrum",&ScantableWrapper::setSpectrum, 68 ( arg("linear")=false, arg("stokes")=false, 69 arg("linpol")=false, arg("thepol")=0 ) ) 70 .def("_setspectrum",&ScantableWrapper::setSpectrum, 82 71 (boost::python::arg("whichrow")=0) ) 83 72 .def("_getabcissa", &ScantableWrapper::getAbcissa,
Note: See TracChangeset
for help on using the changeset viewer.