code: def reslice(data_def):
      sess_scans = scans_for_fnames(
          fnames_presuffix(data_def["functionals"], "a")
      )
      rsinfo = make_job(
          "spatial",
          "realign",
          [
              {
                  "write": {
                      "data": np.vstack(sess_scans.flat),
                      "roptions": {
                          "which": [2, 1],
                          "interp": 4.0,
                          "wrap": [0.0, 0.0, 0.0],
                          "mask": True,
                      },
                  }
              }
          ],
      )
      run_jobdef(rsinfo)
  
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 4 for calling a global function with example usage: reslice(data_def) without return types