Changeset 5588


Ignore:
Timestamp:
12/14/04 09:28:04 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MExtractFixedWindowPeakSearch.cc

    r5491 r5588  
    5151//  In case of odd numbers, the window will be modified.
    5252//
     53//
     54//  Call: SetOffsetFromWindow() to adjust the positionning of the extraction
     55//  window w.r.t. the peak search window. An fOffsetFromWindow of 0 means that
     56//  the starting slice of the extraction window is equal to the starting slice
     57//  of the maximizing peak search window. fOffsetFromWindow equal to 1 (default)
     58//  means that the extraction window starts one slice earlier than the peak
     59//  search window result. It is recommanded to always use a smaller peak search
     60//  window than the extraction window.
     61//
    5362//  Defaults are:
    5463//
     
    5766//   fPeakSearchWindowSize = fgPeakSearchWindowSize = 4
    5867//   fLoGainPeakShift      = fgLoGainPeakShift      = 0
     68//   fOffsetFromWindow     = fgOffsetFromWindow     = 1
    5969//
    6070//////////////////////////////////////////////////////////////////////////////
     
    293303        {
    294304          max = sum;
    295           startslice = p-ptr;
     305          startslice = p-ptr+1;
    296306        }
    297307    }
Note: See TracChangeset for help on using the changeset viewer.