Changeset 207


Ignore:
Timestamp:
01/18/05 17:30:00 (20 years ago)
Author:
mar637
Message:
  • added method to retrieve flux unit
Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMemTableWrapper.h

    r186 r207  
    9494  std::string getTime(int whichRow=0) {return table_->getTime(whichRow);}
    9595
     96  std::string getFluxUnit() const {return table_->getFluxUnit();}
     97
    9698  std::vector<bool> getMask(int whichRow=0) const {
    9799    return table_->getMask(whichRow);
     
    149151  std::string summary() { return table_->summary(); }
    150152 
     153  std::vector<std::string> history(int whichRow=0) {
     154    return table_->history(whichRow);
     155  }
     156
    151157private:
    152158  casa::CountedPtr<SDMemTable> table_;
  • trunk/src/python_SDMemTable.cc

    r158 r207  
    7979    .def("setpol", &SDMemTableWrapper::setPol)
    8080    .def("setmask", &SDMemTableWrapper::setMask)
     81    .def("get_fluxunit", &SDMemTableWrapper::getFluxUnit)
    8182    .def("_flag", &SDMemTableWrapper::flag,
    8283         (boost::python::arg("whichRow")=-1) )
     
    8687    .def("_setcoordinfo", &SDMemTableWrapper::setCoordInfo)
    8788    .def("_getcoordinfo", &SDMemTableWrapper::getCoordInfo)
     89    .def("_history", &SDMemTableWrapper::history,
     90         (boost::python::arg("whichRow")=0) )
    8891  ;
    8992};
Note: See TracChangeset for help on using the changeset viewer.