pyorc.Frames.smooth#

Frames.smooth(wdw=1)[source]#

Smooth each frame with a Gaussian kernel.

Parameters:

wdw (int, optional) – window height or width applied. if set to 1 (default) then the total window is 3x3 (i.e. 2 * 1 + 1). When set to 2, the total window is 5x5 (i.e. 2 * 2 + 1). Very effective to apply before Frames.time_diff. The value for wdw shouild be chosen such that the moving features of interest are not removed from the view. This can be based on a visual interpretation of a result.

Returns:

da – filtered frames

Return type:

xr.DataArray