Changeset 204 for trunk/src/SDContainer.h
- Timestamp:
- 01/18/05 17:22:47 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDContainer.h
r125 r204 59 59 casa::Double bandwidth; 60 60 casa::Double utc; 61 casa::String fluxunit; 62 casa::String epoch; 61 63 void print() const ; 62 64 }; … … 76 78 casa::Float equinox() const { return equinox_; } 77 79 casa::String refFrame() const { return refFrame_; } 80 void restFrequencies(casa::Vector<casa::Double>& rfs, 81 casa::String& rfunit ) const ; 78 82 79 83 // returns the index into the table … … 83 87 void setEquinox(casa::Float eq) { equinox_ = eq; } 84 88 void setRefFrame(const casa::String& reff) { refFrame_ = reff; } 85 89 void addRestFrequency(casa::Double); 90 void setRestFrequencyUnit(const casa::String& theunit) { 91 restFreqUnit_ = theunit; 92 }; 93 86 94 private: 87 95 casa::Int nFreq_; … … 91 99 casa::Float equinox_; 92 100 casa::String refFrame_; 101 casa::Vector<casa::Double> restFreqs_; 102 casa::String restFreqUnit_; 93 103 }; 94 104 … … 139 149 const casa::Vector<casa::uInt>& getFreqMap() const { return freqidx_; } 140 150 151 const casa::Vector<casa::String>& getHistory() const { return history_; } 152 casa::Bool putHistory(const casa::Vector<casa::String>& hist); 153 casa::Bool appendHistory(const casa::String& hist); 154 141 155 casa::Double timestamp; 142 156 //Double bandwidth; … … 168 182 //(nBeam,2) maybe use Measures here... 169 183 casa::Array<casa::Double> direction_; 184 casa::Vector<casa::String> history_; 170 185 171 186 };
Note:
See TracChangeset
for help on using the changeset viewer.