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