code: def test_function_is_callable():
      # Check that the Rbf class can be constructed with function=callable.
      x = linspace(0, 10, 9)
      y = sin(x)
      linfunc = lambda x: x
      rbf = Rbf(x, y, function=linfunc)
      yi = rbf(x)
      assert_array_almost_equal(y, yi)
  
imports: import numpy
  from numpy.testing import assert_, assert_array_almost_equal, assert_almost_equal
  from numpy import linspace, sin, cos, random, exp, allclose
  from scipy.interpolate.rbf import Rbf
label_desc: Use image node_id 16 for calling a global function with example usage: test_function_is_callable() without return types