- Timestamp:
- 04/07/06 10:03:22 (19 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/scantable.py
r1001 r1003 347 347 """ 348 348 return self.stats(stat='stddev',mask=mask); 349 350 351 def column_names(self): 352 """ 353 Return a list of column names, which can be used for selection. 354 """ 355 return list(Scantable.column_names(self)) 349 356 350 357 def get_tsys(self): -
trunk/src/ScantableWrapper.h
r1000 r1003 178 178 void calculateAZEL() { table_->calculateAZEL(); }; 179 179 180 std::vector<std::string> columnNames() const 181 { return table_->columnNames(); } 182 180 183 private: 181 184 casa::CountedPtr<Scantable> table_; -
trunk/src/python_Scantable.cpp
r1000 r1003 71 71 (arg("whichrow")=0, arg("poltype")=std::string("")) ) 72 72 .def("poltype", &ScantableWrapper::getPolType ) 73 .def("column_names", &ScantableWrapper::columnNames) 73 74 .def("_getpollabel", &ScantableWrapper::getPolarizationLabel) 74 75 .def("_setspectrum",&ScantableWrapper::setSpectrum,
Note:
See TracChangeset
for help on using the changeset viewer.