Changeset 1446 for branches/alma/src/ScantableWrapper.h
- Timestamp:
- 11/12/08 17:04:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/src/ScantableWrapper.h
r1400 r1446 133 133 std::vector<uint> getScanNos() { return table_->getScanNos(); } 134 134 int getScan(int whichrow) const {return table_->getScan(whichrow);} 135 std::vector<uint> getMolNos() { return table_->getMolNos();} 135 136 136 137 STSelector getSelection() const { return table_->getSelection(); } … … 157 158 { table_->shift(npix); } 158 159 160 /** 161 commented out by TT 159 162 void setRestFrequencies(double rf, const std::string& name, 160 163 const std::string& unit) 161 164 { table_->setRestFrequencies(rf, name, unit); } 165 **/ 166 void setRestFrequencies(vector<double> rf, const vector<std::string>& name, 167 const std::string& unit) 168 { table_->setRestFrequencies(rf, name, unit); } 169 162 170 /* 163 171 void setRestFrequencies(const std::string& name) { … … 166 174 */ 167 175 176 /* 168 177 std::vector<double> getRestFrequencies() const 169 178 { return table_->getRestFrequencies(); } 179 */ 180 std::vector<double> getRestFrequency(int id) const 181 { return table_->getRestFrequency(id); } 170 182 171 183 void setCoordInfo(std::vector<string> theinfo) { … … 208 220 int checkScanInfo(const vector<int>& scanlist) const 209 221 { return table_->checkScanInfo(scanlist); } 210 222 211 223 std::vector<double> getDirectionVector(int whichrow) const 212 224 { return table_->getDirectionVector(whichrow); } 225 226 void reshapeSpectrum( int nmin, int nmax ) 227 { table_->reshapeSpectrum( nmin, nmax ); } 213 228 214 229 private:
Note: See TracChangeset
for help on using the changeset viewer.