code: def interpolate_slice(slice_rows, slice_cols, interpolator):
      
      fine_rows = np.arange(slice_rows.start, slice_rows.stop, slice_rows.step)
      fine_cols = np.arange(slice_cols.start, slice_cols.stop, slice_cols.step)
      return interpolator(fine_cols, fine_rows)
docs: Interpolate the given slice of the larger array.