code: def coregister(data_def):
      func1 = data_def["functionals"][0]
      mean_fname = fname_presuffix(func1, "meana")
      crinfo = make_job(
          "spatial",
          "coreg",
          [
              {
                  "estimate": {
                      "ref": [mean_fname],
                      "source": [data_def["anatomical"]],
                      "other": [[]],
                      "eoptions": {
                          "cost_fun": "nmi",
                          "sep": [4.0, 2.0],
                          "tol": np.array(
                              [
                                  0.02,
                                  0.02,
                                  0.02,
                                  0.001,
                                  0.001,
                                  0.001,
                                  0.01,
                                  0.01,
                                  0.01,
                                  0.001,
                                  0.001,
                                  0.001,
                              ]
                          ).reshape(1, 12),
                          "fwhm": [7.0, 7.0],
                      },
                  }
              }
          ],
      )
      run_jobdef(crinfo)
  
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 5 for calling a global function with example usage: coregister(data_def) without return types