Changeset 5588
- Timestamp:
- 12/14/04 09:28:04 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractFixedWindowPeakSearch.cc
r5491 r5588 51 51 // In case of odd numbers, the window will be modified. 52 52 // 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 // 53 62 // Defaults are: 54 63 // … … 57 66 // fPeakSearchWindowSize = fgPeakSearchWindowSize = 4 58 67 // fLoGainPeakShift = fgLoGainPeakShift = 0 68 // fOffsetFromWindow = fgOffsetFromWindow = 1 59 69 // 60 70 ////////////////////////////////////////////////////////////////////////////// … … 293 303 { 294 304 max = sum; 295 startslice = p-ptr ;305 startslice = p-ptr+1; 296 306 } 297 307 }
Note:
See TracChangeset
for help on using the changeset viewer.