Changeset 2667 for trunk/src


Ignore:
Timestamp:
10/17/12 11:08:53 (12 years ago)
Author:
Malte Marquarding
Message:

added missing getcyclenos

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.h

    r2666 r2667  
    320320  int getScan(int whichrow) const { return scanCol_(whichrow); }
    321321
     322  std::vector<uint> getCycleNos() const { return getNumbers(cycleCol_); }
     323  int getCycle(int whichrow) const { return cycleCol_(whichrow); }
     324
    322325  //TT addition
    323326  std::vector<uint> getMolNos() {return getNumbers(mmolidCol_); }
     
    334337
    335338  int ncycle(int scanno=-1) const;
    336   int getCycle(int whichrow) const { return cycleCol_(whichrow); }
     339
    337340
    338341  double getInterval(int whichrow) const
  • trunk/src/ScantableWrapper.h

    r2645 r2667  
    159159  std::vector<uint> getPolNos() { return table_->getPolNos(); }
    160160  int getPol(int whichrow) const {return table_->getPol(whichrow);}
     161  std::vector<uint> getCycleNos() { return table_->getCycleNos(); }
    161162  int getCycle(int whichrow) const {return table_->getCycle(whichrow);}
    162163  std::vector<uint> getScanNos() { return table_->getScanNos(); }
  • trunk/src/python_Scantable.cpp

    r2665 r2667  
    5858    .def("getscannos", &ScantableWrapper::getScanNos)
    5959    .def("getcycle", &ScantableWrapper::getCycle)
     60    .def("getcyclenos", &ScantableWrapper::getCycleNos)
    6061    .def("getmolnos", &ScantableWrapper::getMolNos)
    6162    .def("nif", &ScantableWrapper::nif,
Note: See TracChangeset for help on using the changeset viewer.