当前位置: 移动技术网 > IT编程>脚本编程>Python > 插值(scipy.interpolate)

插值(scipy.interpolate)

2018年12月21日  | 移动技术网IT编程  | 我要评论

法语发音规则,尚美视觉,028sn

包含样条函数和类,一维和多维(单变量和多变量)插值类,拉格朗日和泰勒多项式插值器,以及 和dfitpack函数的封装。

univariate interpolation

scipy.interpolate.interp1d

class scipy.interpolate.interp1dxykind ='linear'axis = -1copy = truebounds_error = nonefill_value = nanassume_sorted = false 

 

scipy.interpolate.barycentricinterpolator

class scipy.interpolate.barycentricinterpolatorxiyi = noneaxis = 0 

 

样条:

scipy.interpolate.splprep

scipy.interpolate.splprep(xw=noneu=noneub=noneue=nonek=3task=0s=nonet=nonefull_output=0nest=noneper=0quiet=1)

 

find the b-spline representation of an n-dimensional curve.

given a list of n rank-1 arrays, x, which represent a curve in n-dimensional space parametrized by u, find a smooth approximating spline curve g(u). uses the fortran routine parcur from fitpack.

 

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网