scipy.interpolate.RectBivariateSpline. get_residual# RectBivariateSpline.get_residual()[源代码]# 返回样条逼近的加权平方残差和:sum ((w[i]*(z[i]-s(x[i],y[i])))**2,axis=0)