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