{ } Raw JSON

bundles / scipy 1.17.1 / scipy / interpolate / _rbfinterp / RBFInterpolator / _chunk_evaluator

function

scipy.interpolate._rbfinterp:RBFInterpolator._chunk_evaluator

source: /scipy/interpolate/_rbfinterp.py :375

Signature

def   _chunk_evaluator ( self x y shift scale coeffs memory_budget = 1000000 )

Summary

Evaluate the interpolation while controlling memory consumption. We chunk the input if we need more memory than specified.

Parameters

x : (Q, N) float ndarray

array of points on which to evaluate

y: (P, N) float ndarray

array of points on which we know function values

shift: (N, ) ndarray

Domain shift used to create the polynomial matrix.

scale : (N,) float ndarray

Domain scaling used to create the polynomial matrix.

coeffs: (P+R, S) float ndarray

Coefficients in front of basis functions

memory_budget: int

Total amount of memory (in units of sizeof(float)) we wish to devote for storing the array of coefficients for interpolated points. If we need more memory than that, we chunk the input.

Returns

: (Q, S) float ndarray
: Interpolated array

Aliases

  • scipy.interpolate.RBFInterpolator._chunk_evaluator