Changeset 431 for trunk/src


Ignore:
Timestamp:
02/14/05 17:35:04 (20 years ago)
Author:
kil064
Message:

add function getCircularSpectrum

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMemTableWrapper.h

    r426 r431  
    8383  std::vector<float> getStokesSpectrum(int whichRow=0, bool doPol=false, float paOff=0.0) const {
    8484    return table_->getStokesSpectrum(whichRow, doPol, paOff);
     85  }
     86
     87  std::vector<float> getCircularSpectrum(int whichRow=0, bool doRR=true) const {
     88    return table_->getCircularSpectrum(whichRow, doRR);
    8589  }
    8690
  • trunk/src/python_SDMemTable.cc

    r426 r431  
    7676         (boost::python::arg("pol")=false),
    7777         (boost::python::arg("pa")=0.0) )
     78    .def("_getcircularspectrum", &SDMemTableWrapper::getCircularSpectrum,
     79         (boost::python::arg("whichRow")=0),
     80         (boost::python::arg("rr")=true))
    7881    .def("_setspectrum",&SDMemTableWrapper::setSpectrum,
    7982         (boost::python::arg("whichRow")=0) )
Note: See TracChangeset for help on using the changeset viewer.