natural-neighbor-interpolation icon indicating copy to clipboard operation
natural-neighbor-interpolation copied to clipboard

The test case will hang

Open DQuanR2 opened this issue 2 years ago • 0 comments

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

DQuanR2 avatar Nov 18 '22 11:11 DQuanR2