Changeset 1571 for trunk/src


Ignore:
Timestamp:
06/29/09 12:06:46 (16 years ago)
Author:
Malte Marquarding
Message:

Ticket #167: c++ part of running polynomial smoothing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMath.cpp

    r1570 r1571  
    14891489
    14901490CountedPtr< Scantable > STMath::smooth( const CountedPtr< Scantable >& in,
    1491                                         const std::string& kernel, float width )
    1492 {
    1493   if (kernel == "rmedian"  || kernel == "hanning") {
    1494     return smoothOther(in, kernel, width);
     1491                                        const std::string& kernel, float width,
     1492                                        int order)
     1493{
     1494  if (kernel == "rmedian"  || kernel == "hanning" || kernel == "poly") {
     1495    return smoothOther(in, kernel, width, order);
    14951496  }
    14961497  CountedPtr< Scantable > out = getScantable(in, false);
Note: See TracChangeset for help on using the changeset viewer.