stam.griddata.triangulate

stam.griddata.triangulate(xy)[source]

Compute the D-D Delaunay triangulation of a grid.

Parameters:

xy (2-D ndarray of floats with shape (n, D), or length D tuple of 1-D ndarrays with shape (n,).) – Data point coordinates.

Returns:

tri – 2D Delaunay triangulation of xy.

Return type:

Delaunay object