code: def test_desc_alt_2():
      tr = 2.0
      for func in (tf.st_42031, tf.desc_alt_2):
          assert_almost_equal(
              func(10, tr) / tr * 10, [9, 4, 8, 3, 7, 2, 6, 1, 5, 0]
          )
          assert_almost_equal(
              func(11, tr) / tr * 11, [5, 10, 4, 9, 3, 8, 2, 7, 1, 6, 0]
          )
          assert_array_equal(np.argsort(func(5, 1)), [4, 2, 0, 3, 1])
          assert tf.SLICETIME_FUNCTIONS[func.__name__] == func
  
file_path: nipy/nipy/algorithms/slicetiming/tests/test_timefuncs.py
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_array_equal
  from ..None import timefuncs
label_desc: Use image node_id 4 for calling a global function with example usage: test_desc_alt_2() without return types