Changeset 2888
- Timestamp:
- 12/26/13 13:21:30 (11 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.cpp
r2883 r2888 5230 5230 5231 5231 5232 std::vector<uint> Scantable::getRootTableRowNumbers() const 5233 { 5234 Vector<uInt> rowIds(table_.rowNumbers()); 5235 vector<uint> res; 5236 rowIds.tovector(res); 5237 return res; 5238 } 5239 5240 5232 5241 void Scantable::dropXPol() 5233 5242 { -
trunk/src/Scantable.h
r2831 r2888 648 648 std::vector<uint> getMoleculeIdColumnData() const; 649 649 void setMoleculeIdColumnData(const std::vector<uint>& molids); 650 651 /** 652 * Get row idx of root table 653 **/ 654 std::vector<uint> getRootTableRowNumbers() const; 655 650 656 double calculateModelSelectionCriteria(const std::string& valname, 651 657 const std::string& blfunc, -
trunk/src/ScantableWrapper.h
r2831 r2888 337 337 void setMoleculeIdColumnData(const std::vector<uint>& molids) 338 338 { table_->setMoleculeIdColumnData(molids); } 339 340 std::vector<uint> getRootTableRowNumbers() const 341 { return table_->getRootTableRowNumbers(); } 342 339 343 double calculateModelSelectionCriteria(const std::string& valname, const std::string& blfunc, int order, const std::vector<bool>& inMask, int whichrow, bool useLineFinder, const std::vector<int>& edge, float threshold, int chanAvgLimit) 340 344 { return table_->calculateModelSelectionCriteria(valname, blfunc, order, inMask, whichrow, useLineFinder, edge, threshold, chanAvgLimit); } -
trunk/src/python_Scantable.cpp
r2831 r2888 169 169 .def("_getmolidcol_list", &ScantableWrapper::getMoleculeIdColumnData) 170 170 .def("_setmolidcol_list", &ScantableWrapper::setMoleculeIdColumnData) 171 .def("_get_root_row_idx", &ScantableWrapper::getRootTableRowNumbers) 171 172 .def("_calc_aic", &ScantableWrapper::calculateModelSelectionCriteria) 172 173 .def("drop_xpol", &ScantableWrapper::dropXPol)
Note:
See TracChangeset
for help on using the changeset viewer.