shoot.contours.interp_to_line# shoot.contours.interp_to_line(data, line)[source]# Interpolate 2D field values along a contour line Parameters: data (ndarray) – 2D field to interpolate. line (ndarray) – Contour line coordinates of shape (n, 2). Returns: Interpolated values along the contour. Return type: ndarray