code: def test_dki_micro_predict_multi_voxel():
      dkiM = dki_micro.KurtosisMicrostructureModel(gtab_2s)
      dkiF = dkiM.fit(DWIsim)
  
      # Check predict of KurtosisMicrostruturalModel
      pred = dkiM.predict(dkiF.model_params)
      assert_array_almost_equal(pred, DWIsim_all_taylor, decimal=3)
  
      pred = dkiM.predict(dkiF.model_params, S0=100)
      assert_array_almost_equal(
          pred, DWIsim_all_taylor * 100, decimal=3
      )
  
      # Check predict of KurtosisMicrostruturalFit
      pred = dkiF.predict(gtab_2s, S0=100)
      assert_array_almost_equal(
          pred, DWIsim_all_taylor * 100, decimal=3
      )
  
file_path: dipy/dipy/reconst/tests/test_dki_micro.py
imports: import numpy
  import random
  import dipy.reconst.dki_micro
  from numpy.testing import assert_array_almost_equal, assert_almost_equal, assert_, assert_raises, assert_allclose
  from dipy.sims.voxel import multi_tensor_dki, _check_directions, multi_tensor
  from dipy.io.gradients import read_bvals_bvecs
  from dipy.core.gradients import gradient_table
  from dipy.data import get_fnames
  from dipy.reconst.dti import eig_from_lo_tri
  from dipy.data import default_sphere, get_sphere
label_desc: Use image node_id 6 for calling a global function with example usage: test_dki_micro_predict_multi_voxel() without return types