scipy.interpolate.interp1d.

__call__#

interp1d.__call__(x)[source]#

評估內插器

參數:
xarray_like

評估內插器的點或點集合。

回傳值:
yarray_like

內插值。形狀由原始陣列中內插軸的形狀,替換為 x 的形狀來決定。

註解

輸入值 x 必須可轉換為 float 值,例如 intfloat