code: def create_wimt():
      wimt = WarpImageMultiTransform()
      wimt.inputs.input_image = "diffusion_weighted.nii"
      wimt.inputs.reference_image = "functional.nii"
      wimt.inputs.transformation_series = [
          "func2anat_coreg_Affine.txt",
          "func2anat_InverseWarp.nii.gz",
          "dwi2anat_Warp.nii.gz",
          "dwi2anat_coreg_Affine.txt",
      ]
      return wimt
  
file_path: nipype/nipype/interfaces/ants/tests/test_resampling.py
imports: from nipype.interfaces.ants import WarpImageMultiTransform, WarpTimeSeriesImageMultiTransform
  import os
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: create_wimt() and returns: wimt