scipy.interpolate.RectBivariateSpline.

get_residual#

RectBivariateSpline.get_residual()[source]#

Return weighted sum of squared residuals of the spline approximation.

This is given by:

sum ((w[i]*(z[i]-s(x[i],y[i])))**2,axis=0)
Returns:
float

Weighted sum of squared residuals of the spline approximation.