- Timestamp:
- 05/02/11 16:00:51 (14 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.cpp
r2133 r2161 2859 2859 } 2860 2860 2861 vector<float> Scantable::getTsysSpectrum( int whichrow ) const 2862 { 2863 Vector<Float> tsys( tsysCol_(whichrow) ) ; 2864 vector<float> stlTsys ; 2865 tsys.tovector( stlTsys ) ; 2866 return stlTsys ; 2867 } 2861 2868 2862 2869 /* -
trunk/src/Scantable.h
r2111 r2161 336 336 float getTsys(int whichrow) const 337 337 { return casa::Vector<casa::Float>(tsysCol_(whichrow))(0); } 338 std::vector<float> getTsysSpectrum(int whichrow) const ; 338 339 float getElevation(int whichrow) const 339 340 { return elCol_(whichrow); } -
trunk/src/ScantableWrapper.h
r2111 r2161 84 84 { return table_->getTsys(whichrow); } 85 85 86 std::vector<float> getTsysSpectrum(int whichrow=0) const 87 { return table_->getTsysSpectrum(whichrow); } 88 86 89 //std::string getTime(int whichrow=0) const 87 90 // { return table_->getTime(whichrow); } -
trunk/src/python_Scantable.cpp
r2125 r2161 91 91 (boost::python::arg("whichrow")=0) ) 92 92 .def("_gettsys", &ScantableWrapper::getTsys) 93 .def("_gettsysspectrum", &ScantableWrapper::getTsysSpectrum ) 93 94 .def("_getsourcename", &ScantableWrapper::getSourceName, 94 95 (boost::python::arg("whichrow")=0) )
Note:
See TracChangeset
for help on using the changeset viewer.