natural-neighbor-interpolation
natural-neighbor-interpolation copied to clipboard
The test case will hang
Hi, I just tried running your example i.e.,
`import scipy.interpolate import numpy as np
import naturalneighbor
num_points = 10 num_dimensions = 3 points = np.random.rand(num_points, num_dimensions) values = np.random.rand(num_points)
grids = tuple(np.mgrid[0:100:1, 0:50:100j, 0:100:2]) scipy_interpolated_values = scipy.interpolate.griddata(points, values, grids)
grid_ranges = [[0, 100, 1], [0, 50, 100j], [0, 100, 2]] nn_interpolated_values = naturalneighbor.griddata(points, values, grid_ranges)`
However, my python will just hand and not do anything. What could be the reason?
I am using python 3.8.12