code: def test_parcel_analysis_nosmooth():
      con_imgs, parcel_img = make_fake_data()
      msk_img = make_xyz_image(
          np.ones(SIZE, dtype="uint"), AFFINE, "talairach"
      )
      X = np.random.normal(0, 1, size=(NSUBJ, 5))
      c = np.random.normal(0, 1, size=(5,))
      g = ParcelAnalysis(
          con_imgs,
          parcel_img,
          msk_img=msk_img,
          design_matrix=X,
          cvect=c,
          fwhm=0,
      )
      t_map = g.t_map().get_fdata()
      m_error = np.abs(np.mean(t_map))
      v_error = np.abs(np.var(t_map) - (NSUBJ - 5) / float(NSUBJ - 7))
      print(f"Errors: {m_error:f} (mean), {v_error:f} (var)")
      assert m_error < 0.1
      assert v_error < 0.1
  
file_path: nipy/nipy/algorithms/group/tests/test_parcel_analysis.py
imports: import os
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from ....core.image.image_spaces import make_xyz_image, xyz_affine
  from ..parcel_analysis import ParcelAnalysis, _smooth_image_pair, parcel_analysis
label_desc: Use image node_id 7 for calling a global function with example usage: test_parcel_analysis_nosmooth() without return types