Ignore:
Timestamp:
01/18/05 17:22:47 (20 years ago)
Author:
mar637
Message:
  • added fluxunit, epoch
  • added restfrequencies
  • added history
  • now using asap::AxisNo enum instead of fixed axis indeces
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDContainer.h

    r125 r204  
    5959  casa::Double bandwidth;
    6060  casa::Double utc;
     61  casa::String fluxunit;
     62  casa::String epoch;
    6163  void print() const ;
    6264};
     
    7678  casa::Float equinox() const { return equinox_; }
    7779  casa::String refFrame() const { return refFrame_; }
     80  void restFrequencies(casa::Vector<casa::Double>& rfs,
     81                       casa::String& rfunit ) const ;
    7882
    7983  // returns the index into the table
     
    8387  void setEquinox(casa::Float eq) { equinox_ = eq; }
    8488  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
    8694private:
    8795  casa::Int nFreq_;
     
    9199  casa::Float equinox_;
    92100  casa::String refFrame_;
     101  casa::Vector<casa::Double> restFreqs_;
     102  casa::String restFreqUnit_;
    93103};
    94104
     
    139149  const casa::Vector<casa::uInt>& getFreqMap() const { return freqidx_; }
    140150 
     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
    141155  casa::Double timestamp;
    142156  //Double bandwidth;
     
    168182  //(nBeam,2) maybe use Measures here...
    169183  casa::Array<casa::Double>   direction_;
     184  casa::Vector<casa::String> history_;
    170185
    171186};
Note: See TracChangeset for help on using the changeset viewer.