Changeset 50 for trunk/src/SDMemTable.h
- Timestamp:
- 07/15/04 15:58:02 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTable.h
r39 r50 54 54 // create a new (empty) SDMemTable 55 55 SDMemTable(); 56 // create a SDMemTable from a )aips++) table on disk56 // create a SDMemTable from an (aips++) table on disk 57 57 SDMemTable(const std::string& name); 58 58 … … 78 78 // get spectrum,mask and tsys for the given row, at the selected 79 79 // cursor - all as stl vectors 80 virtual std::vector<float> getSpectrum(Int whichRow );81 virtual std::vector<bool> getMask(Int whichRow ) const;80 virtual std::vector<float> getSpectrum(Int whichRow=0) const; 81 virtual std::vector<bool> getMask(Int whichRow=0) const; 82 82 83 virtual Float getTsys(Int whichRow ) const;83 virtual Float getTsys(Int whichRow=0) const; 84 84 // get all as aips++ Vectors 85 85 virtual void getSpectrum(Vector<Float>& spectrum, Int whichRow=0); … … 87 87 88 88 // get info for current row 89 virtual Double getTime(Int whichRow) const ; 90 virtual std::string getSourceName(Int whichRow) const; 91 89 std::string getTime(Int whichRow=0) const ; 90 std::string getSourceName(Int whichRow=0) const; 91 double getInterval(Int whichRow=0) const; 92 92 93 // set the current value 93 94 virtual bool setIF(Int whichIF=0); … … 102 103 virtual Int getPol() { return polSel_; } 103 104 105 // number of scans in table 106 virtual Int nScans() const; 107 104 108 // print a summary to stdout 105 109 virtual void summary() const; … … 130 134 131 135 SpectralCoordinate getCoordinate(uInt whichIdx) const; 136 Bool setCoordinate(const SpectralCoordinate& speccord, uInt whichIdx); 137 132 138 std::vector<double> getAbscissa(int whichRow, 133 139 const std::string& whichUnit="GHz", … … 139 145 Int IFSel_,beamSel_,polSel_; 140 146 std::vector<bool> chanMask_; 141 String name_; 142 // the unerlying memory table 147 // the underlying memory table 143 148 Table table_; 144 149 };
Note: See TracChangeset
for help on using the changeset viewer.