Ignore:
Timestamp:
11/10/10 14:48:15 (14 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed:
+ An optional parameter 'prec (unsigned int)' is added to

scantable.get_time, python_Scantable::_gettime, ScantableWrapper::getTime and Scantable::getTime.

+ Also Scantable::fromatTime accepts 'prec' as a parameter.
+ scantable._get_column accepts args which will be passed to callback function.

Test Programs:

Put in Release Notes: No

Module(s): scantable

Description:

Add a parameter prec to scantable.get_time which specifies the precision of time returned.
The default value is prec=0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python_Scantable.cpp

    r1908 r1947  
    9999    .def("_getparangle", &ScantableWrapper::getParAngle,
    100100         (boost::python::arg("whichrow")=0) )
     101    //.def("_gettime", &ScantableWrapper::getTime,
     102    //     (boost::python::arg("whichrow")=0) )
    101103    .def("_gettime", &ScantableWrapper::getTime,
    102          (boost::python::arg("whichrow")=0) )
     104         (boost::python::arg("whichrow")=0,
     105          boost::python::arg("prec")=0) )
    103106    .def("_getinttime", &ScantableWrapper::getIntTime,
    104107         (boost::python::arg("whichrow")=0) )
Note: See TracChangeset for help on using the changeset viewer.