stam.griddata.interpolate
- stam.griddata.interpolate(values, tri, uv, fill_value=np.nan, d=2)[source]
Interpolate unstructured D-D data.
- Parameters:
values (ndarray of float or complex, shape (n,)) – Data values.
tri (Delaunay object) – 2D Delaunay triangulation of the grid.
uv (2-D ndarray of floats with shape (m, D), or length D tuple of ndarrays broadcastable to the same shape.) – Points at which to interpolate data.
fill_value (float, optional) – Value used to fill in for requested points outside of the convex hull of the input points (default: np.nan).
d (int, optional) – Number of dimensions (default: 2).
- Returns:
ret – Array of interpolated values.
- Return type:
ndarray