This adds a step argument to sliding_win_oneaxis. The default 1 preserves existing behavior. When > 1, it will call slice_along_axis with slice(None, None, step).
My motivation for adding this is to make the function signature the same as the equivalent function I'm using for sparse arrays.
This adds a
step
argument tosliding_win_oneaxis
. The default1
preserves existing behavior. When > 1, it will callslice_along_axis
withslice(None, None, step)
.My motivation for adding this is to make the function signature the same as the equivalent function I'm using for sparse arrays.