6.6.12. sliding_window

sliding_window(xy, dx_window)[source]

Returns a sliding window (of width dx) over data from the iterable.

Parameters:
Returns:

Data (x & y) inside the time window.

Return type:

generator