rolling_window_graph

rolling_window_graph(n_patches, w)[source]

Generate patch edges for a rolling window

Parameters:
  • n_patches – Number of patches

  • w – window width (patches connected to the w nearest neighbours on either side)