Smooth data in vector x to its endpoint.
Arguments
- x
1D data to be smoothed.
- box_width
Width (in units of vector steps) of the box used for
smoothing.
Value
x_smooth Smoothened version of x.
Details
Employ an endpoint box filter (aka "running mean" or endpoint smoother) to the
1-D data in x:
Where x is considered to be zero-padded vor values of i-box_width < 1.