astro plan:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- astroplan v0.7 »
- Reference/API »
- stride_array

# stride_array

`astroplan.``stride_array`(arr, window_width)

  Computes all possible sequential subarrays of arr with length = window_width

  Parameters
    arr array-like (length = n)

      Linearly-spaced sequence

    window_width int

      Number of elements in each new sub-array

  Returns
    strided_arr array (shape = (n-window_width, window_width))

      Linearly-spaced sequence of times