相关疑难解决方法(0)

使用NumPy/SciPy进行向量值函数插值

有没有办法使用NumPy/SciPy插入向量值函数?

有很多产品可用于标量值函数,我想我可以使用其中一个来分别估计向量的每个组件,但有没有办法更有效地做到这一点?

详细说明,我有一个函数f(x) = V,其中x是标量,V是一个向量.我也有一个xs和他们相应的集合Vs.我想用它来插值和估计V一个任意的x.

python interpolation numpy scipy

8
推荐指数
1
解决办法
3003
查看次数

使用 Delaunay 三角剖分 (n-dim) 进行插值

我想在 Python 中使用 Delaunay Triangulation 来插入 3D 中的点。

我拥有的是

# my array of points
points = [[1,2,3], [2,3,4], ...]
# my array of values
values = [7, 8, ...]
# an object with triangulation
tri = Delaunay(points)        
# a set of points at which I want to interpolate
p = [[1.5, 2.5, 3.5], ...]
# this gets simplexes that contain given points
s = tri.find_simplex(p)
# this gets vertices for the simplexes
v = tri.vertices[s]
Run Code Online (Sandbox Code Playgroud)

我只能在这里找到一个建议使用方法进行插值的答案transform,但没有更具体。

我需要知道的是如何使用包含单纯形的顶点来获得线性插值的权重。让我们假设一个一般的 …

python interpolation delaunay scipy

2
推荐指数
1
解决办法
3790
查看次数

标签 统计

interpolation ×2

python ×2

scipy ×2

delaunay ×1

numpy ×1