code: def segnorm(data_def):
      def_tpms = np.zeros((3, 1), dtype=object)
      spm_path = spm_info.spm_path
      def_tpms[0] = (pjoin(spm_path, "tpm", "grey.nii"),)
      def_tpms[1] = (pjoin(spm_path, "tpm", "white.nii"),)
      def_tpms[2] = pjoin(spm_path, "tpm", "csf.nii")
      data = np.zeros((1,), dtype=object)
      data[0] = data_def["anatomical"]
      sninfo = make_job(
          "spatial",
          "preproc",
          {
              "data": data,
              "output": {
                  "GM": fltcols([0, 0, 1]),
                  "WM": fltcols([0, 0, 1]),
                  "CSF": fltcols([0, 0, 0]),
                  "biascor": 1.0,
                  "cleanup": False,
              },
              "opts": {
                  "tpm": def_tpms,
                  "ngaus": fltcols([2, 2, 2, 4]),
                  "regtype": "mni",
                  "warpreg": 1.0,
                  "warpco": 25.0,
                  "biasreg": 0.0001,
                  "biasfwhm": 60.0,
                  "samp": 3.0,
                  "msk": np.array([], dtype=object),
              },
          },
      )
      run_jobdef(sninfo)
  
file_path: nipy/examples/interfaces/process_fiac.py
imports: import sys
  from glob import glob
  from os.path import join
  import numpy
  from nipy.interfaces.spm import fltcols, fname_presuffix, fnames_presuffix, make_job, run_jobdef, scans_for_fnames, spm_info
label_desc: Use image node_id 6 for calling a global function with example usage: segnorm(data_def) without return types