def num_windows_of_length_M_on_buffers_of_length_N(M, N):
    return N - M + 1
For a window of length M rolling over a buffer of length N,
dataset/ETHPy150Open quantopian/zipline/tests/pipeline/test_adjusted_array.py/num_windows_of_length_M_on_buffers_of_length_N