code: def masker(affine_eye):
      mask_img = nib.Nifti1Image(np.ones((5, 5, 5)), affine_eye)
      masker = NiftiMasker(mask_img)
      masker.fit(mask_img)
      return masker
  
imports: import nibabel
  import numpy
  import pytest
  from numpy.testing import assert_array_almost_equal, assert_array_less, assert_equal
  from scipy import stats
  from nilearn.conftest import _rng
  from nilearn.maskers import NiftiMasker
  from nilearn.mass_univariate import permuted_ols
label_desc: Use image node_id 8 for calling a global function with example usage: masker(affine_eye) and returns: masker