code: def check_rbf3d_interpolation(function):
      # Check that the Rbf function interpolates through the nodes (3D).
      x = random.rand(50, 1) * 4 - 2
      y = random.rand(50, 1) * 4 - 2
      z = random.rand(50, 1) * 4 - 2
      d = x * exp(-(x**2) - y**2)
      rbf = Rbf(x, y, z, d, epsilon=2, function=function)
      di = rbf(x, y, z)
      di.shape = x.shape
      assert_array_almost_equal(di, d)
  
file_path: catboost/contrib/python/scipy/py2/scipy/interpolate/tests/test_rbf.py
imports: from __future__ import division, print_function, absolute_import
  import numpy
  from numpy.testing import assert_, assert_array_almost_equal, assert_almost_equal
  from numpy import linspace, sin, random, exp, allclose
  from scipy.interpolate.rbf import Rbf
label_desc: Use image node_id 3 for calling a global function with example usage: check_rbf3d_interpolation(function) without return types