Ignore:
Timestamp:
02/24/06 10:03:21 (18 years ago)
Author:
mar637
Message:

numerous changes before move to new svn repository sourcecode.atnf.csiro.au

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STFrequencies.h

    r840 r847  
    6262   * @return casa::SpectralCoordinate
    6363   */
    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;
    6572
    6673  /**
     
    6875   * @return casa::Unit
    6976   */
    70   const casa::Unit& getUnit() const;
     77  casa::Unit getUnit() const;
     78  std::string getUnitString() const;
     79
    7180  /**
    7281   * Return the doppler type of the values
    73    * @return casa::MDoppler
     82   * @return casa::MDoppler::Types
    7483   */
    75   casa::MDoppler getDoppler() const;
     84  casa::MDoppler::Types getDoppler() const;
     85  std::string getDopplerString() const;
    7686
    7787
    7888  /**
    7989   * Return the frame type, e.g MFrequency::TOPO
     90   * @param base return the base frame or the user frame
    8091   * @return casa::MFrequency::Types
    8192   */
    82   casa::MFrequency::Types getFrame() const;
     93  casa::MFrequency::Types getFrame(bool base=false) const;
    8394
    8495  /**
    8596   * 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
    8799   */
    88   std::string getFrameString() const;
     100  std::string getFrameString(bool base=false) const;
    89101
    90102  /**
     
    124136  std::string print(int id=-1);
    125137
     138  std::vector<std::string> getInfo() const;
     139  void setInfo( const std::vector<std::string>& theinfo );
     140
    126141private:
    127142
Note: See TracChangeset for help on using the changeset viewer.