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 的查询函数以显式设置。 有关不同选项的概述,请参阅scipy.spatial.cKDTree.query。在 1.12.0 版本中添加。