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