code: def test_ActivationCount_normaldistr(tmpdir, threshold, above_thresh):
      tmpdir.chdir()
      in_files = [f"{i:d}.nii" for i in range(3)]
      for fname in in_files:
          nb.Nifti1Image(
              np.random.normal(size=(100, 100, 100)), np.eye(4)
          ).to_filename(fname)
  
      acm = ActivationCount(in_files=in_files, threshold=threshold)
      res = acm.run()
      pos = nb.load(res.outputs.acm_pos)
      neg = nb.load(res.outputs.acm_neg)
      assert np.isclose(
          pos.get_fdata().mean(),
          above_thresh * 1.0e-2,
          rtol=0.1,
          atol=1.0e-4,
      )
      assert np.isclose(
          neg.get_fdata().mean(),
          above_thresh * 1.0e-2,
          rtol=0.1,
          atol=1.0e-4,
      )
  
imports: import numpy
  import nibabel
  from nipype.algorithms.stats import ActivationCount
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_ActivationCount_normaldistr(tmpdir, threshold, above_thresh) without return types