Changeset 884 for trunk/src/python_Scantable.cpp
- Timestamp:
- 03/08/06 12:01:46 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/python_Scantable.cpp
r872 r884 63 63 .def("_setInstrument", &ScantableWrapper::setInstrument) 64 64 .def("_getspectrum", &ScantableWrapper::getSpectrum, 65 (boost::python::arg("which Row")=0))65 (boost::python::arg("whichrow")=0)) 66 66 /* 67 67 .def("nstokes", &ScantableWrapper::nStokes) 68 68 .def("_getstokesspectrum", &ScantableWrapper::getStokesSpectrum, 69 (boost::python::arg("which Row")=0),69 (boost::python::arg("whichrow")=0), 70 70 (boost::python::arg("linpol")=false) ) 71 71 .def("_stokestopolspectrum", &ScantableWrapper::stokesToPolSpectrum, 72 (boost::python::arg("which Row")=0),72 (boost::python::arg("whichrow")=0), 73 73 (boost::python::arg("linear")=false), 74 74 (boost::python::arg("thepol")=-1) ) … … 79 79 (boost::python::arg("linpol")=false) ) 80 80 // (boost::python::arg("thepol")=0) ) // Boost fails with 4 arguments 81 /*.def("_setspectrum",&ScantableWrapper::setSpectrum,82 (boost::python::arg("which Row")=0) )*/81 .def("_setspectrum",&ScantableWrapper::setSpectrum, 82 (boost::python::arg("whichrow")=0) ) 83 83 .def("_getabcissa", &ScantableWrapper::getAbcissa, 84 (boost::python::arg("which Row")=0) )84 (boost::python::arg("whichrow")=0) ) 85 85 .def("_getabcissalabel", &ScantableWrapper::getAbcissaLabel, 86 (boost::python::arg("which Row")=0) )86 (boost::python::arg("whichrow")=0) ) 87 87 .def("_getmask", &ScantableWrapper::getMask, 88 (boost::python::arg("which Row")=0) )88 (boost::python::arg("whichrow")=0) ) 89 89 .def("_gettsys", &ScantableWrapper::getTsys) 90 90 .def("_getsourcename", &ScantableWrapper::getSourceName, 91 (boost::python::arg("which Row")=0) )91 (boost::python::arg("whichrow")=0) ) 92 92 .def("_getelevation", &ScantableWrapper::getElevation, 93 (boost::python::arg("which Row")=0) )93 (boost::python::arg("whichrow")=0) ) 94 94 .def("_getazimuth", &ScantableWrapper::getAzimuth, 95 (boost::python::arg("which Row")=0) )95 (boost::python::arg("whichrow")=0) ) 96 96 .def("_getparangle", &ScantableWrapper::getParAngle, 97 (boost::python::arg("which Row")=0) )97 (boost::python::arg("whichrow")=0) ) 98 98 .def("_gettime", &ScantableWrapper::getTime, 99 (boost::python::arg("which Row")=0) )99 (boost::python::arg("whichrow")=0) ) 100 100 .def("_flag", &ScantableWrapper::flag) 101 101 .def("_save", &ScantableWrapper::makePersistent)
Note: See TracChangeset
for help on using the changeset viewer.