'Evaluate interpolator at given points.
Parameters
xi : ndarray of float, shape (..., ndim)
Points where to interpolate data at.'

def __call__(self, *args):

    xi = _ndim_coords_from_arrays(args, ndim=self.points.shape[1])
    xi = self._check_call_shape(xi)
    xi = self._scale_x(xi)
    (dist, i) = self.tree.query(xi)
    return self.values[i]
