Changeset 16 for trunk/src/SDContainer.h


Ignore:
Timestamp:
06/30/04 11:00:23 (20 years ago)
Author:
mmarquar
Message:

Updated data container. Changed the axis order in the spectrum/flag arrays to [nBeam,nIF,nPol,nChan]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDContainer.h

    r7 r16  
    6464
    6565public:
    66   SDContainer(uInt nBeam, uInt nIF, uInt nChan, uInt nPol);
     66  SDContainer(uInt nBeam, uInt nIF, uInt nPol, uInt nChan);
     67  SDContainer(IPosition shp);
    6768
    6869  virtual ~SDContainer();
     
    9495 
    9596private:
    96   uInt nBeam_,nIF_,nChan_,nPol_;
     97  uInt nBeam_,nIF_,nPol_,nChan_;
    9798
    98   // (nBeam,nIF,nChannel,nPol)
     99  // (nBeam,nIF,nPol,nChannel)
    99100  Array<Float>    spectrum_; 
    100101  Array<uChar>    flags_;
    101   // (nBeam,nIF,[nChannel],nPol) Tsys is not really a function of
     102  // (nBeam,nIF,nPol,[nChannel]) Tsys is not really a function of
    102103  // channel, but this makes it easier to work with at the expense of
    103104  // a little memory
Note: See TracChangeset for help on using the changeset viewer.