Changeset 1779 for branches/mergetest/src/ScantableWrapper.h
- Timestamp:
- 07/29/10 19:13:46 (14 years ago)
- Location:
- branches/mergetest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mergetest
- Property svn:mergeinfo changed
-
branches/mergetest/src/ScantableWrapper.h
r1730 r1779 109 109 { table_->flag(msk, unflag); } 110 110 111 void flagRow(const std::vector<casa::uInt>& rows=std::vector<casa::uInt>(), bool unflag=false) 112 { table_->flagRow(rows, unflag); } 113 114 bool getFlagRow(int whichrow=0) const 115 { return table_->getFlagRow(whichrow); } 116 117 void clip(const casa::Float uthres, const casa::Float dthres, bool clipoutside=true, bool unflag=false) 118 { table_->clip(uthres, dthres, clipoutside, unflag); } 119 120 std::vector<bool> getClipMask(int whichrow, const casa::Float uthres, const casa::Float dthres, bool clipoutside, bool unflag) const 121 { return table_->getClipMask(whichrow, uthres, dthres, clipoutside, unflag); } 122 111 123 std::string getSourceName(int whichrow=0) const 112 124 { return table_->getSourceName(whichrow); } … … 134 146 std::vector<uint> getScanNos() { return table_->getScanNos(); } 135 147 int getScan(int whichrow) const {return table_->getScan(whichrow);} 148 std::vector<uint> getMolNos() { return table_->getMolNos();} 136 149 137 150 STSelector getSelection() const { return table_->getSelection(); } … … 158 171 { table_->shift(npix); } 159 172 173 /** 174 commented out by TT 160 175 void setRestFrequencies(double rf, const std::string& name, 161 176 const std::string& unit) 162 177 { table_->setRestFrequencies(rf, name, unit); } 178 **/ 179 void setRestFrequencies(vector<double> rf, const vector<std::string>& name, 180 const std::string& unit) 181 { table_->setRestFrequencies(rf, name, unit); } 182 163 183 /* 164 184 void setRestFrequencies(const std::string& name) { … … 167 187 */ 168 188 189 /* 169 190 std::vector<double> getRestFrequencies() const 170 191 { return table_->getRestFrequencies(); } 192 */ 193 std::vector<double> getRestFrequency(int id) const 194 { return table_->getRestFrequency(id); } 171 195 172 196 void setCoordInfo(std::vector<string> theinfo) { … … 209 233 int checkScanInfo(const vector<int>& scanlist) const 210 234 { return table_->checkScanInfo(scanlist); } 211 235 212 236 std::vector<double> getDirectionVector(int whichrow) const 213 237 { return table_->getDirectionVector(whichrow); } … … 222 246 std::vector<float> getWeather(int whichrow) const 223 247 { return table_->getWeather(whichrow); } 248 249 void reshapeSpectrum( int nmin, int nmax ) 250 { table_->reshapeSpectrum( nmin, nmax ); } 224 251 225 252 private: … … 229 256 } // namespace 230 257 #endif 258
Note: See TracChangeset
for help on using the changeset viewer.