Changeset 455 for trunk/src/SDMemTableWrapper.h
- Timestamp:
- 02/16/05 12:29:26 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTableWrapper.h
r433 r455 81 81 } 82 82 83 std::vector<float> getStokesSpectrum(int whichRow=0, bool doPol=false, float paOff=0.0) const { 83 std::vector<float> getStokesSpectrum(int whichRow=0, bool doPol=false, 84 float paOff=0.0) const { 84 85 return table_->getStokesSpectrum(whichRow, doPol, paOff); 85 86 } 86 87 87 std::vector<float> getCircularSpectrum(int whichRow=0, bool doRR=true) const { 88 std::vector<float> getCircularSpectrum(int whichRow=0, 89 bool doRR=true) const { 88 90 return table_->getCircularSpectrum(whichRow, doRR); 89 91 } … … 187 189 } 188 190 191 void addFit(int whichRow, const std::vector<double>& p, 192 const std::vector<bool>& m, const std::vector<string>& f, 193 const std::vector<int>& c) { 194 195 casa::Vector<casa::Double> p2(p); 196 casa::Vector<casa::Bool> m2(m); 197 casa::Vector<casa::String> f2(f.size()); 198 casa::uInt i=0; 199 std::vector<std::string>::const_iterator it; 200 for (it=f.begin();it != f.end();++it) { 201 f2[i] = casa::String(*it); 202 } 203 casa::Vector<casa::Int> c2(c); 204 table_->addFit(casa::uInt(whichRow), p2,m2,f2,c2); 205 } 206 189 207 void rotateXYPhase (float value, bool doAll) { 190 208 table_->rotateXYPhase(value, doAll);
Note: See TracChangeset
for help on using the changeset viewer.