Ignore:
Timestamp:
03/17/06 10:10:59 (18 years ago)
Author:
mar637
Message:

More work on polarisation. STPol and labelling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python_Scantable.cpp

    r896 r902  
    5353    .def("getscan", &ScantableWrapper::getScan)
    5454    .def("getcycle", &ScantableWrapper::getCycle)
    55     .def("nif", &ScantableWrapper::nif)
    56     .def("nbeam", &ScantableWrapper::nbeam)
    57     .def("npol", &ScantableWrapper::npol)
    58     .def("nchan", &ScantableWrapper::nchan)
     55    .def("nif", &ScantableWrapper::nif,
     56         (boost::python::arg("scanno")=-1) )
     57    .def("nbeam", &ScantableWrapper::nbeam,
     58         (boost::python::arg("scanno")=-1) )
     59    .def("npol", &ScantableWrapper::npol,
     60         (boost::python::arg("scanno")=-1) )
     61    .def("nchan", &ScantableWrapper::nchan,
     62         (boost::python::arg("ifno")=-1) )
     63    .def("ncycle", &ScantableWrapper::ncycle,
     64         (boost::python::arg("scanno")=-1) )
    5965    .def("nscan", &ScantableWrapper::nscan)
    6066    .def("nrow", &ScantableWrapper::nrow)
     
    6571         (arg("whichrow")=0, arg("poltype")=std::string("linear")) )
    6672    .def("poltype", &ScantableWrapper::getPolType )
    67     .def("_getpolarizationlabel", &ScantableWrapper::getPolarizationLabel,
    68          ( arg("linear")=false, arg("stokes")=false,
    69            arg("linpol")=false, arg("thepol")=0 ) )
     73    .def("_getpollabel", &ScantableWrapper::getPolarizationLabel)
    7074    .def("_setspectrum",&ScantableWrapper::setSpectrum,
    7175         (boost::python::arg("whichrow")=0) )
Note: See TracChangeset for help on using the changeset viewer.