Changeset 847 for trunk/src/STFrequencies.h
- Timestamp:
- 02/24/06 10:03:21 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STFrequencies.h
r840 r847 62 62 * @return casa::SpectralCoordinate 63 63 */ 64 casa::SpectralCoordinate getSpectralCoordinate( casa::uInt freqID ); 64 casa::SpectralCoordinate getSpectralCoordinate( casa::uInt freqID ) const; 65 66 casa::SpectralCoordinate getSpectralCoordinate( const casa::MDirection& md, 67 const casa::MPosition& mp, 68 const casa::MEpoch& me, 69 casa::Double restfreq, 70 casa::uInt freqID 71 ) const; 65 72 66 73 /** … … 68 75 * @return casa::Unit 69 76 */ 70 const casa::Unit& getUnit() const; 77 casa::Unit getUnit() const; 78 std::string getUnitString() const; 79 71 80 /** 72 81 * Return the doppler type of the values 73 * @return casa::MDoppler 82 * @return casa::MDoppler::Types 74 83 */ 75 casa::MDoppler getDoppler() const; 84 casa::MDoppler::Types getDoppler() const; 85 std::string getDopplerString() const; 76 86 77 87 78 88 /** 79 89 * Return the frame type, e.g MFrequency::TOPO 90 * @param base return the base frame or the user frame 80 91 * @return casa::MFrequency::Types 81 92 */ 82 casa::MFrequency::Types getFrame( ) const;93 casa::MFrequency::Types getFrame(bool base=false) const; 83 94 84 95 /** 85 96 * Return a string representation of the frame type, e.g TOPO 86 * @return 97 * @param base return the base frame or the user frame 98 * @return the string representation of the frame 87 99 */ 88 std::string getFrameString( ) const;100 std::string getFrameString(bool base=false) const; 89 101 90 102 /** … … 124 136 std::string print(int id=-1); 125 137 138 std::vector<std::string> getInfo() const; 139 void setInfo( const std::vector<std::string>& theinfo ); 140 126 141 private: 127 142
Note: See TracChangeset
for help on using the changeset viewer.