pyinterp.core.bivariate_float64

pyinterp.core.bivariate_float64(grid: pyinterp.core.Grid2DFloat64, x: numpy.ndarray[numpy.float64], y: numpy.ndarray[numpy.float64], interpolator: pyinterp.core.BivariateInterpolator2D, bounds_error: bool = False, num_threads: int = 0) numpy.ndarray[numpy.float64]

Interpolate the values provided on the defined bivariate function.

Parameters:
  • grid – Grid containing the values to be interpolated.

  • x – X-values.

  • y – Y-values.

  • interpolator – 2D interpolator used to interpolate.

  • bounds_error – If True, when interpolated values are requested outside of the domain of the input axes (x,y), a ValueError is raised. If False, then value is set to NaN.

  • num_threads – The number of threads to use for the computation. If 0 all CPUs are used. If 1 is given, no parallel computing code is used at all, which is useful for debugging. Defaults to 0.

Returns:

Values interpolated.

Return type:

numpy.ndarray