Ignore:
Timestamp:
03/08/06 12:01:46 (18 years ago)
Author:
mar637
Message:

added setSpectrum

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python_Scantable.cpp

    r872 r884  
    6363    .def("_setInstrument", &ScantableWrapper::setInstrument)
    6464    .def("_getspectrum", &ScantableWrapper::getSpectrum,
    65          (boost::python::arg("whichRow")=0))
     65         (boost::python::arg("whichrow")=0))
    6666    /*
    6767    .def("nstokes", &ScantableWrapper::nStokes)
    6868    .def("_getstokesspectrum", &ScantableWrapper::getStokesSpectrum,
    69          (boost::python::arg("whichRow")=0),
     69         (boost::python::arg("whichrow")=0),
    7070         (boost::python::arg("linpol")=false) )
    7171    .def("_stokestopolspectrum", &ScantableWrapper::stokesToPolSpectrum,
    72          (boost::python::arg("whichRow")=0),
     72         (boost::python::arg("whichrow")=0),
    7373         (boost::python::arg("linear")=false),
    7474         (boost::python::arg("thepol")=-1) )
     
    7979         (boost::python::arg("linpol")=false) )
    8080//         (boost::python::arg("thepol")=0) )        // Boost fails with 4 arguments
    81 /*    .def("_setspectrum",&ScantableWrapper::setSpectrum,
    82          (boost::python::arg("whichRow")=0) )*/
     81   .def("_setspectrum",&ScantableWrapper::setSpectrum,
     82         (boost::python::arg("whichrow")=0) )
    8383    .def("_getabcissa", &ScantableWrapper::getAbcissa,
    84          (boost::python::arg("whichRow")=0) )
     84         (boost::python::arg("whichrow")=0) )
    8585    .def("_getabcissalabel", &ScantableWrapper::getAbcissaLabel,
    86          (boost::python::arg("whichRow")=0) )
     86         (boost::python::arg("whichrow")=0) )
    8787    .def("_getmask", &ScantableWrapper::getMask,
    88          (boost::python::arg("whichRow")=0) )
     88         (boost::python::arg("whichrow")=0) )
    8989    .def("_gettsys", &ScantableWrapper::getTsys)
    9090    .def("_getsourcename", &ScantableWrapper::getSourceName,
    91          (boost::python::arg("whichRow")=0) )
     91         (boost::python::arg("whichrow")=0) )
    9292    .def("_getelevation", &ScantableWrapper::getElevation,
    93          (boost::python::arg("whichRow")=0) )
     93         (boost::python::arg("whichrow")=0) )
    9494    .def("_getazimuth", &ScantableWrapper::getAzimuth,
    95          (boost::python::arg("whichRow")=0) )
     95         (boost::python::arg("whichrow")=0) )
    9696    .def("_getparangle", &ScantableWrapper::getParAngle,
    97          (boost::python::arg("whichRow")=0) )
     97         (boost::python::arg("whichrow")=0) )
    9898    .def("_gettime", &ScantableWrapper::getTime,
    99          (boost::python::arg("whichRow")=0) )
     99         (boost::python::arg("whichrow")=0) )
    100100    .def("_flag", &ScantableWrapper::flag)
    101101    .def("_save",  &ScantableWrapper::makePersistent)
Note: See TracChangeset for help on using the changeset viewer.