Changeset 105 for trunk/src/SDMemTable.h
- Timestamp:
- 12/01/04 10:57:15 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTable.h
r88 r105 94 94 virtual void setSpectrum(std::vector<float> spectrum, int whichRow=0); 95 95 virtual void setRestFreqs(std::vector<double> freqs, const std::string& theunit); 96 96 virtual void setCoordInfo(std::vector<string> theinfo); 97 97 // set the current value 98 98 virtual bool setIF(Int whichIF=0); … … 109 109 virtual Int getBeam() { return beamSel_; } 110 110 virtual Int getPol() { return polSel_; } 111 virtual std::vector<string> getCoordInfo() const; 111 112 112 113 // number of scans in table … … 114 115 115 116 // print a summary to stdout 116 virtual std::string summary() const;117 virtual std::string summary(); 117 118 118 119 // write to disk as aips++ table … … 146 147 Int nCoordinates() const; 147 148 148 std::vector<double> getAbscissa(int whichRow, 149 const std::string& whichUnit="GHz", 150 const std::string& whichFrame="TOPO", 151 double restfreq=0.0); 149 std::vector<double> getAbscissa(int whichRow=0); 150 std::string getAbscissaString(Int whichRow=0); 151 152 152 private: 153 // set up table structure 153 // utility func for nice printout 154 String formatSec(Double x); 154 155 void setup(); 155 156 // the current cursor into the array
Note: See TracChangeset
for help on using the changeset viewer.