scipy.interpolate.NearestNDInterpolator.
__call__#
- NearestNDInterpolator.__call__(*args, **query_options)[原始碼]#
在給定點評估內插器。
- 參數:
- x1, x2, … xn類似陣列的浮點數
要在這些點內插資料。x1, x2, … xn 可以是具有可廣播形狀的類似陣列的浮點數。或者 x1 可以是形狀為
(..., ndim)
的類似陣列的浮點數- **query_options
這允許將
eps
、p
、distance_upper_bound
和workers
傳遞給 cKDTree 的 query 函數以進行明確設定。請參閱scipy.spatial.cKDTree.query
以概述不同的選項。在版本 1.12.0 中新增。