code: def unflatten_generator(ing):
      for i, r in ing:
          r = r.reshape(FIMG.shape[2:])
          yield i, r
  
file_path: nipy/nipy/modalities/fmri/fmristat/tests/test_iterables.py
imports: import numpy
  from numpy.random import standard_normal
  from numpy.testing import assert_array_almost_equal
  from nipy.algorithms.statistics.models.regression import OLSModel
  from nipy.core.image.image import rollimg
  from nipy.core.utils.generators import f_generator, parcels, write_data
  from nipy.io.api import load_image
  from nipy.modalities.fmri.api import FmriImageList, axis0_generator
  from nipy.testing import funcfile
label_desc: Use image node_id 5 for calling a global function with example usage: unflatten_generator(ing) without return types