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