code: def check_rbf1d_interpolation(function):
      # Check that the Rbf function interpolates through the nodes (1D)
      x = linspace(0, 10, 9)
      y = sin(x)
      rbf = Rbf(x, y, function=function)
      yi = rbf(x)
      assert_array_almost_equal(y, yi)
      assert_almost_equal(rbf(float(x[0])), y[0])
  
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 1 for calling a global function with example usage: check_rbf1d_interpolation(function) without return types