Changeset 39 for trunk/src/SDMemTable.h
- Timestamp:
- 07/07/04 18:51:17 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTable.h
r22 r39 41 41 #include <aips/Arrays/MaskedArray.h> 42 42 43 #include <trial/Coordinates/SpectralCoordinate.h> 44 43 45 namespace atnf_sd { 44 46 … … 66 68 67 69 // put data from meta conatiner into the table 68 virtualbool putSDContainer(const SDContainer& sdc);69 virtualbool putSDHeader(const SDHeader& sdh);70 virtual bool putSDFreqTable(const SDFrequencyTable& sdft) {;}70 bool putSDContainer(const SDContainer& sdc); 71 bool putSDHeader(const SDHeader& sdh); 72 bool putSDFreqTable(const SDFrequencyTable& sdft); 71 73 72 74 //get the dat wrapped up in a meta container 73 virtualSDContainer getSDContainer(uInt whichRow=0) const;74 virtualSDHeader getSDHeader() const;75 75 SDContainer getSDContainer(uInt whichRow=0) const; 76 SDHeader getSDHeader() const; 77 SDFrequencyTable getSDFreqTable() const; 76 78 // get spectrum,mask and tsys for the given row, at the selected 77 79 // cursor - all as stl vectors … … 127 129 Bool useSelection = False); 128 130 131 SpectralCoordinate getCoordinate(uInt whichIdx) const; 132 std::vector<double> getAbscissa(int whichRow, 133 const std::string& whichUnit="GHz", 134 double restfreq=0.0); 129 135 private: 130 136 // set up table structure
Note: See TracChangeset
for help on using the changeset viewer.