replay_trajectory_classification.environments.get_track_boundary_points#

get_track_boundary_points(is_track_interior: ndarray, edges: list[ndarray], connectivity: int = 1)[source]#
Parameters:
  • is_track_interior (np.ndarray, shape (n_x_bins, n_y_bins))

  • edges (list of ndarray)

Returns:

boundary_points

Return type:

np.ndarray, shape (n_boundary_points, n_position_dims)