Skip to main content

BoxSmooth

BoxSmooth box, srcWave, smoothedWave​

The BoxSmooth operation replaces smoothedWave with a smoothed copy of srcWave. The waves must both exist.

The BoxSmooth operation is used primarily by Igor Technical Note #20 and its variants. For most purposes, use the more flexible Smooth operation instead of BoxSmooth.

Parameters​

box is the number of srcWave points averaged to form each smoothedWave point. If you specify an even number, the next-higher odd number is used.

Details​

BoxSmooth is equivalent to the Smooth operation with the /B flag, except that BoxSmooth does not compute the result in-place like Smooth does. This command:

BoxSmooth box, srcWave, smoothedWave

is equivalent to:

Duplicate/O srcWave, smoothedWave
Smooth/B/DIM=-1/E=3/F=0 box, smoothedWave