code: def test_kaiser_beta():
      b = kaiser_beta(58.7)
      assert_almost_equal(b, 0.1102 * 50.0)
      b = kaiser_beta(22.0)
      assert_almost_equal(b, 0.5842 + 0.07886)
      b = kaiser_beta(21.0)
      assert_equal(b, 0.0)
      b = kaiser_beta(10.0)
      assert_equal(b, 0.0)
  
imports: from __future__ import division, print_function, absolute_import
  import numpy
  from numpy.testing import assert_almost_equal, assert_array_almost_equal, assert_equal, assert_, assert_allclose, assert_warns
  from pytest import raises
  from scipy.special import sinc
  from scipy.signal import kaiser_beta, kaiser_atten, kaiserord, firwin, firwin2, freqz, remez, firls, minimum_phase
label_desc: Use image node_id 1 for calling a global function with example usage: test_kaiser_beta() without return types