- Timestamp:
- 09/17/10 17:20:14 (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/selector.py
r1927 r1930 8 8 scantables to specific rows. 9 9 """ 10 fields = ["pols", "ifs", "beams", "scans", "cycles", "name", "query", "types" ]10 fields = ["pols", "ifs", "beams", "scans", "cycles", "name", "query", "types", "rows"] 11 11 12 12 def __init__(self, *args, **kw): … … 216 216 def get_types(self): 217 217 return list(self._gettypes()) 218 def get_rows(self): 219 return list(self._getrows()) 218 220 def get_query(self): 219 221 prefix = "SELECT FROM $1 WHERE " … … 233 235 "POLNO": self.get_pols(), 234 236 "QUERY": self.get_query(), 237 "SRCTYPE": self.get_types(), 238 "ROWS": self.get_rows(), 235 239 "Sort Order": self.get_order() 236 240 } -
trunk/src/STSelector.cpp
r1819 r1930 270 270 } 271 271 272 std::vector< int > asap::STSelector::getRows( ) const 273 { 274 return rowselection_ ; 275 } 276 272 277 std::string asap::STSelector::print( ) 273 278 { -
trunk/src/STSelector.h
r1819 r1930 57 57 std::vector<int> getCycles() const; 58 58 std::vector<int> getTypes() const; 59 std::vector<int> getRows() const; 59 60 std::vector<std::string> getPolTypes() const; 60 61 std::string getTaQL() const { return taql_; } -
trunk/src/python_STSelector.cpp
r1819 r1930 30 30 .def("_getcycles", &STSelector::getCycles) 31 31 .def("_gettypes", &STSelector::getTypes) 32 .def("_getrows", &STSelector::getRows) 32 33 .def("_gettaql", &STSelector::getTaQL) 33 34 .def("_getorder", &STSelector::getSortOrder)
Note:
See TracChangeset
for help on using the changeset viewer.