Changeset 41


Ignore:
Timestamp:
07/07/04 18:54:48 (20 years ago)
Author:
mmarquar
Message:

Added wrappers for baseline,hanning and getAbscissa.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMemTableWrapper.h

    r24 r41  
    6161    return table_->getSpectrum(whichRow);
    6262  }
     63
     64  std::vector<double> getAbscissa(int whichRow,
     65                                  const std::string& unit = "GHz",
     66                                  double restfreq=0.0) const {
     67    return table_->getAbscissa(whichRow,unit,restfreq);
     68  }
     69
    6370  float getTsys(int whichRow) {return table_->getTsys(whichRow);}
    6471  double getTime(int whichRow) {return table_->getTime(whichRow);}
     
    126133    return SDMemTableWrapper(SDMath::multiply(in.getCP(),factor));   
    127134  }
    128   /*
     135 
     136  SDMemTableWrapper hanning(const SDMemTableWrapper& in) {
     137    return SDMemTableWrapper(SDMath::hanning(in.getCP()));   
     138  }
    129139  std::vector<float> baseline(const SDMemTableWrapper& in, const std::string& fitexpr) {
    130140    return SDMath::baseline(in.getCP(), fitexpr);
    131141  }
    132   */
    133142};
    134143
Note: See TracChangeset for help on using the changeset viewer.