Changeset 1233 for tags


Ignore:
Timestamp:
09/01/06 13:33:31 (18 years ago)
Author:
mar637
Message:

changed scantable.column_names to scantable.get_column_names.
added set_query adn get_column_names to commands

Location:
tags/Release2.1.0b
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/Release2.1.0b/python/__init__.py

    r1193 r1233  
    358358
    359359def is_ipython():
    360     return '__IP' in dir(sys.modules["__main__"]) 
     360    return '__IP' in dir(sys.modules["__main__"])
    361361if is_ipython():
    362362    def version(): print  "ASAP %s(%s)"% (__version__, __date__)
     
    397397            get_abcissa     - get the abcissa values and name for a given
    398398                              row (time)
     399            get_column_names - get the names of the columns in the scantable
     400                               for use with selector.set_query
    399401            set_freqframe   - set the frame info for the Spectral Axis
    400402                              (e.g. 'LSRK')
     
    462464            set_names          - set a selection by name (wildcards allowed)
    463465            set_tsys           - set a selection by tsys thresholds
     466            set_query          - set a selection by SQL-like query, e.g. BEAMNO==1
    464467            reset              - unset all selections
    465468            +                  - merge to selections
  • tags/Release2.1.0b/src/python_Scantable.cpp

    r1189 r1233  
    7777         (arg("whichrow")=0, arg("poltype")=std::string("")) )
    7878    .def("poltype", &ScantableWrapper::getPolType )
    79     .def("column_names", &ScantableWrapper::columnNames)
     79    .def("get_column_names", &ScantableWrapper::columnNames)
    8080    .def("_getpollabel", &ScantableWrapper::getPolarizationLabel)
    8181    .def("_setspectrum",&ScantableWrapper::setSpectrum,
Note: See TracChangeset for help on using the changeset viewer.