Changeset 79 for trunk/src/SDContainer.h


Ignore:
Timestamp:
08/10/04 16:26:33 (20 years ago)
Author:
mar637
Message:

Added support of source direction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDContainer.h

    r67 r79  
    115115  Bool putTsys(const Array<Float>& spec);
    116116
    117   Bool setPointing(const Vector<Double>& point, uInt whichBeam) {;}
     117  Bool setDirection(const Vector<Double>& point, uInt whichBeam);
     118  Bool putDirection(const Array<Double>& dir);
    118119
    119120  Bool setFrequencyMap(uInt freqslot, uInt whichIF);
     
    123124  Array<uChar> getFlags(uInt whichBeam, uInt whichIF) const;
    124125  Array<Float> getTsys(uInt whichBeam, uInt whichIF) const;
     126  Array<Double> getDirection(uInt whichBeam) const;
    125127
    126128  const Array<Float>& getSpectrum() const { return spectrum_; }
    127129  const Array<uChar>& getFlags() const { return flags_; }
    128130  const Array<Float>& getTsys() const { return tsys_; }
     131  const Array<Double>& getDirection() const { return direction_; }
    129132
    130133  const Vector<uInt>& getFreqMap() const { return freqidx_; }
    131 
     134 
    132135  Double timestamp;
    133136  String sourcename;
     
    147150  Array<Float>    tcal_;
    148151
    149   //(nBeam) maybe use Measures here...
    150   //*** Vector<Vector<Double>>  pointing_;
    151152  //(nIF) indx into "global" frequency table
    152153  Vector<uInt>            freqidx_;
     154  //(nBeam,2) maybe use Measures here...
     155  Array<Double>  direction_;
    153156
    154157};
Note: See TracChangeset for help on using the changeset viewer.