Ignore:
Timestamp:
11/12/08 17:04:01 (16 years ago)
Author:
TakTsutsumi
Message:

Merged recent updates (since 2007) from nrao-asap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/src/ScantableWrapper.h

    r1400 r1446  
    133133  std::vector<uint> getScanNos() { return table_->getScanNos(); }
    134134  int getScan(int whichrow) const {return table_->getScan(whichrow);}
     135  std::vector<uint> getMolNos() { return table_->getMolNos();}
    135136
    136137  STSelector getSelection() const { return table_->getSelection(); }
     
    157158  { table_->shift(npix); }
    158159
     160/**
     161  commented out by TT
    159162  void setRestFrequencies(double rf, const std::string& name,
    160163                          const std::string& unit)
    161164    { table_->setRestFrequencies(rf, name, unit); }
     165**/
     166  void setRestFrequencies(vector<double> rf, const vector<std::string>& name,
     167                          const std::string& unit)
     168    { table_->setRestFrequencies(rf, name, unit); }
     169
    162170/*
    163171  void setRestFrequencies(const std::string& name) {
     
    166174*/
    167175
     176/*
    168177  std::vector<double> getRestFrequencies() const
    169178    { return table_->getRestFrequencies(); }
     179*/
     180  std::vector<double> getRestFrequency(int id) const
     181    { return table_->getRestFrequency(id); }
    170182
    171183  void setCoordInfo(std::vector<string> theinfo) {
     
    208220  int checkScanInfo(const vector<int>& scanlist) const
    209221    { return table_->checkScanInfo(scanlist); }
    210 
     222 
    211223  std::vector<double>  getDirectionVector(int whichrow) const
    212224    { return table_->getDirectionVector(whichrow); }
     225
     226  void reshapeSpectrum( int nmin, int nmax )
     227  { table_->reshapeSpectrum( nmin, nmax ); }
    213228
    214229private:
Note: See TracChangeset for help on using the changeset viewer.