- Timestamp:
- 12/26/04 21:57:09 (20 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTable.cc
r148 r158 321 321 } 322 322 323 std::vector<double> SDMemTable::getAb scissa(Int whichRow) {323 std::vector<double> SDMemTable::getAbcissa(Int whichRow) { 324 324 std::vector<double> absc(nChan()); 325 325 Vector<Double> absc1(nChan()); … … 416 416 } 417 417 418 std::string SDMemTable::getAb scissaString(Int whichRow)418 std::string SDMemTable::getAbcissaString(Int whichRow) 419 419 { 420 420 ROArrayColumn<uInt> fid(table_, "FREQID"); … … 864 864 oss << "None set" << endl; 865 865 } 866 oss << setw(15) << "Ab scissa:" << getAbscissaString() << endl;866 oss << setw(15) << "Abcissa:" << getAbcissaString() << endl; 867 867 oss << setw(15) << "Cursor:" << "Beam[" << getBeam() << "] " 868 868 << "IF[" << getIF() << "] " << "Pol[" << getPol() << "]" << endl; -
trunk/src/SDMemTable.h
r154 r158 152 152 casa::Int nCoordinates() const; 153 153 154 std::vector<double> getAb scissa(int whichRow=0);155 std::string getAb scissaString(casa::Int whichRow=0);154 std::vector<double> getAbcissa(int whichRow=0); 155 std::string getAbcissaString(casa::Int whichRow=0); 156 156 157 157 private: -
trunk/src/SDMemTableWrapper.h
r157 r158 76 76 } 77 77 78 std::vector<double> getAb scissa(int whichRow=0) const {79 return table_->getAb scissa(whichRow);78 std::vector<double> getAbcissa(int whichRow=0) const { 79 return table_->getAbcissa(whichRow); 80 80 } 81 std::string getAb scissaString(int whichRow=0) const {82 return table_->getAb scissaString(whichRow);81 std::string getAbcissaString(int whichRow=0) const { 82 return table_->getAbcissaString(whichRow); 83 83 } 84 84 -
trunk/src/python_SDMemTable.cc
r157 r158 52 52 .def("getspectrum", &SDMemTableWrapper::getSpectrum, 53 53 (boost::python::arg("whichRow")=0) ) 54 .def("getab scissa", &SDMemTableWrapper::getAbscissa,54 .def("getabcissa", &SDMemTableWrapper::getAbcissa, 55 55 (boost::python::arg("whichRow")=0) ) 56 .def("getab scissalabel", &SDMemTableWrapper::getAbscissaString,56 .def("getabcissalabel", &SDMemTableWrapper::getAbcissaString, 57 57 (boost::python::arg("whichRow")=0) ) 58 58 .def("getmask", &SDMemTableWrapper::getMask,
Note:
See TracChangeset
for help on using the changeset viewer.