bundles / scipy 1.17.1 / scipy / interpolate / _rbfinterp / RBFInterpolator / _chunk_evaluator
function
scipy.interpolate._rbfinterp:RBFInterpolator._chunk_evaluator
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 ndarrayarray of points on which to evaluate
y: (P, N) float ndarrayarray of points on which we know function values
shift: (N, ) ndarrayDomain shift used to create the polynomial matrix.
scale: (N,) float ndarrayDomain scaling used to create the polynomial matrix.
coeffs: (P+R, S) float ndarrayCoefficients in front of basis functions
memory_budget: intTotal 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