Changeset 16 for trunk/src/SDMemTable.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/SDMemTable.h

    r2 r16  
    5151public:
    5252  SDMemTable(const std::string& name= "SDInputTable.tbl");
    53   SDMemTable(const SDMemTable& other);
     53  SDMemTable(const SDMemTable& other, Bool clear=False);
    5454
    5555  SDMemTable(const Table& tab, Int scanID);
     
    6060 
    6161  virtual std::vector<float> getSpectrum(Int whichRow) const;
    62   virtual std::vector<bool> getMask() const;
     62  virtual std::vector<bool> getMask(Int whichRow) const;
    6363 
    64   MaskedArray<Float> rowAsMaskedArray(uInt whichRow);
     64  MaskedArray<Float> rowAsMaskedArray(uInt whichRow,
     65                                      Bool useSelection = False);
    6566
    6667  virtual Float getTsys(Int whichRow) const;
     
    7778
    7879  //sets the mask
    79   virtual bool setChannels(const std::vector<int>& whichChans);
     80  virtual bool setMask(const std::vector<int>& whichChans);
    8081 
    8182  virtual void summary() const;
Note: See TracChangeset for help on using the changeset viewer.