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