You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Writing np.lib.stride_tricks.sliding_window_view is a bit of a mouthful, I think it would be better if it was placed inside the main module. (also doing import from is a bit inconvenient)
I suggest adding a step_size parameter to the function, an example of its use would be: