scipy学习

1、Delaunay三角剖分

from scipy.spatial.qhull import Delaunay
from scipy.interpolate import LinearNDInterpolator, griddata

tri = Delaunay(np.asarray([orig_lon.ravel(), orig_lat.ravel()]).T)
interpolator = LinearNDInterpolator(tri, orig_val.ravel())

2、scipy.interpolate.LinearNDInterpolator线性插值

https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.LinearNDInterpolator.html

3、scipy.interpolate.griddata 3D插值

https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.griddata.html#scipy.interpolate.griddata

4、scipy.interpolate.NearestNDInterpolator 最近点插值

你可能感兴趣的:(Python,scipy)