code: def nifti_image_files(outdir, filelist, shape):
      for f in ensure_list(filelist):
          img = np.random.random(shape)
          nb.Nifti1Image(img, np.eye(4), None).to_filename(
              os.path.join(outdir, f)
          )
  
file_path: nipype/nipype/testing/fixtures.py
imports: import os
  import pytest
  import numpy
  import nibabel
  from nipype.utils.filemanip import ensure_list
  from nipype.interfaces.fsl import Info
  from nipype.interfaces.fsl.base import FSLCommand
label_desc: Use image node_id 2 for calling a global function with example usage: nifti_image_files(outdir, filelist, shape) without return types