Changeset 106
- Timestamp:
- 12/01/04 10:57:32 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/python_SDMemTable.cc
r96 r106 47 47 .def( init < const SDMemTableWrapper&, std::string > () ) 48 48 .def("_copy", &SDMemTableWrapper::copy) 49 .def(" getscan", &SDMemTableWrapper::getScan)50 .def(" getsource", &SDMemTableWrapper::getSource)49 .def("_getscan", &SDMemTableWrapper::getScan) 50 .def("_getsource", &SDMemTableWrapper::getSource) 51 51 .def("getspectrum", &SDMemTableWrapper::getSpectrum, 52 52 (boost::python::arg("whichRow")=0) ) 53 53 .def("getabscissa", &SDMemTableWrapper::getAbscissa, 54 (boost::python::arg("whichRow")=0, 55 boost::python::arg("unit")=std::string("GHz"), 56 boost::python::arg("frame")=std::string("TOPO"), 57 boost::python::arg("restFrequency")=0.0) ) 54 (boost::python::arg("whichRow")=0) ) 55 .def("getabscissalabel", &SDMemTableWrapper::getAbscissaString, 56 (boost::python::arg("whichRow")=0) ) 58 57 .def("getmask", &SDMemTableWrapper::getMask, 59 58 (boost::python::arg("whichRow")=0) ) 60 .def(" gettsys", &SDMemTableWrapper::getTsys,59 .def("_gettsys", &SDMemTableWrapper::getTsys, 61 60 (boost::python::arg("whichRow")=0), 62 61 "Return the TSys at the current location" ) 63 .def(" getsourcename", &SDMemTableWrapper::getSourceName,62 .def("_getsourcename", &SDMemTableWrapper::getSourceName, 64 63 (boost::python::arg("whichRow")=0) ) 65 .def(" gettime", &SDMemTableWrapper::getTime,64 .def("_gettime", &SDMemTableWrapper::getTime, 66 65 (boost::python::arg("whichRow")=0) ) 67 66 .def("getif", &SDMemTableWrapper::getIF) … … 85 84 .def("save", &SDMemTableWrapper::makePersistent) 86 85 .def("summary", &SDMemTableWrapper::summary) 87 .def("setrestfreqs", &SDMemTableWrapper::setRestFreqs) 86 .def("_setrestfreqs", &SDMemTableWrapper::setRestFreqs) 87 .def("_setcoordinfo", &SDMemTableWrapper::setCoordInfo) 88 .def("_getcoordinfo", &SDMemTableWrapper::getCoordInfo) 88 89 ; 89 90 };
Note:
See TracChangeset
for help on using the changeset viewer.