Changeset 868
- Timestamp:
- 03/06/06 10:52:08 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ScantableWrapper.h
r864 r868 56 56 table_(mt.getCP()) {;} 57 57 58 void assign(const ScantableWrapper& mt) 59 { table_= mt.getCP(); } 60 58 61 ScantableWrapper copy() { 59 62 return ScantableWrapper(new Scantable(*(this->getCP()), false)); 60 63 } 61 /* 64 62 65 std::vector<float> getSpectrum(int whichRow=0) const { 63 66 return table_->getSpectrum(whichRow); 64 67 } 65 68 /* 66 69 std::vector<float> getStokesSpectrum(int whichRow=0, 67 70 bool linPol=false) const { … … 85 88 { return table_->getAbcissa(whichRow); } 86 89 87 std::string getAbcissa String(int whichRow=0) const88 { return table_->getAbcissa String(whichRow); }90 std::string getAbcissaLabel(int whichRow=0) const 91 { return table_->getAbcissaLabel(whichRow); } 89 92 90 93 float getTsys(int whichRow=0) const … … 117 120 { return table_->getParAngle(whichRow); } 118 121 119 void setSpectrum(std::vector<float> spectrum, int whichrow=0) 120 { table_->setSpectrum(spectrum, whichrow); } 122 123 // void setSpectrum(std::vector<float> spectrum, int whichrow=0) 124 // { table_->setSpectrum(spectrum, whichrow); } 121 125 122 126 int getIF(int whichrow) const {return table_->getIF(whichrow);} 123 127 int getBeam(int whichrow) const {return table_->getBeam(whichrow);} 124 128 int getPol(int whichrow) const {return table_->getPol(whichrow);} 129 int getCycle(int whichrow) const {return table_->getCycle(whichrow);} 130 int getScan(int whichrow) const {return table_->getScan(whichrow);} 125 131 126 132 STSelector getSelection() const { return table_->getSelection(); } 133 void setSelection(const STSelector& sts) 134 { return table_->setSelection(sts);} 127 135 128 136 int nif(int scanno=-1) const {return table_->nif(scanno);} … … 137 145 { table_->makePersistent(fname); } 138 146 139 void setRestFreq s(double rf, const std::string& unit)140 { table_->setRestFreq s(rf, unit); }147 void setRestFrequencies(double rf, const std::string& unit) 148 { table_->setRestFrequencies(rf, unit); } 141 149 142 void setRestFreq s(const std::string& name) {143 table_->setRestFreq s(name);150 void setRestFrequencies(const std::string& name) { 151 table_->setRestFrequencies(name); 144 152 } 145 153
Note:
See TracChangeset
for help on using the changeset viewer.