class_docstr: Warps a time-series from one space to another
  
  Examples
  --------
  
  >>> from nipype.interfaces.ants import WarpTimeSeriesImageMultiTransform
  >>> wtsimt = WarpTimeSeriesImageMultiTransform()
  >>> wtsimt.inputs.input_image = 'resting.nii'
  >>> wtsimt.inputs.reference_image = 'ants_deformed.nii.gz'
  >>> wtsimt.inputs.transformation_series = ['ants_Warp.nii.gz','ants_Affine.txt']
  >>> wtsimt.cmdline
  'WarpTimeSeriesImageMultiTransform 4 resting.nii resting_wtsimt.nii -R ants_deformed.nii.gz ants_Warp.nii.gz ants_Affine.txt'
  
  >>> wtsimt = WarpTimeSeriesImageMultiTransform()
  >>> wtsimt.inputs.input_image = 'resting.nii'
  >>> wtsimt.inputs.reference_image = 'ants_deformed.nii.gz'
  >>> wtsimt.inputs.transformation_series = ['ants_Warp.nii.gz','ants_Affine.txt']
  >>> wtsimt.inputs.invert_affine = [1] # # this will invert the 1st Affine file: ants_Affine.txt
  >>> wtsimt.cmdline
  'WarpTimeSeriesImageMultiTransform 4 resting.nii resting_wtsimt.nii -R ants_deformed.nii.gz ants_Warp.nii.gz -i ants_Affine.txt'
class_docstr_tok: ["Warps","a","time-series","from","one","space","to","another","Examples","--","--","--","--",">",">",">","from","nipype.interfaces.ants","import","WarpTimeSeriesImageMultiTransform",">",">",">","wtsimt","=","WarpTimeSeriesImageMultiTransform","(",")",">",">",">","wtsimt.inputs.input_image","=","'resting.nii'",">",">",">","wtsimt.inputs.reference_image","=","'ants_deformed.nii.gz'",">",">",">","wtsimt.inputs.transformation_series","=","[","'ants_Warp.nii.gz","'",",","'ants_Affine.txt","'","]",">",">",">","wtsimt.cmdline","'WarpTimeSeriesImageMultiTransform","4","resting.nii","resting_wtsimt.nii","-R","ants_deformed.nii.gz","ants_Warp.nii.gz","ants_Affine.txt'",">",">",">","wtsimt","=","WarpTimeSeriesImageMultiTransform","(",")",">",">",">","wtsimt.inputs.input_image","=","'resting.nii'",">",">",">","wtsimt.inputs.reference_image","=","'ants_deformed.nii.gz'",">",">",">","wtsimt.inputs.transformation_series","=","[","'ants_Warp.nii.gz","'",",","'ants_Affine.txt","'","]",">",">",">","wtsimt.inputs.invert_affine","=","[","1","]","#","#","this","will","invert","the","1st","Affine","file",":","ants_Affine.txt",">",">",">","wtsimt.cmdline","'WarpTimeSeriesImageMultiTransform","4","resting.nii","resting_wtsimt.nii","-R","ants_deformed.nii.gz","ants_Warp.nii.gz","-i","ants_Affine.txt","'"]
code: def _run_interface(self, runtime, correct_return_codes=[0]):
      runtime = super()._run_interface(
          runtime, correct_return_codes=[0, 1]
      )
      if "100 % complete" not in runtime.stdout:
          self.raise_exception(runtime)
      return runtime
  
imports: import os
  from .base import ANTSCommand, ANTSCommandInputSpec
  from ..base import TraitedSpec, File, traits, isdefined, InputMultiObject
  from ...utils.filemanip import split_filename
label_desc: Use image node_id 3 for calling the WarpTimeSeriesImageMultiTransform obj's underlying member method code with example usage: obj._run_interface(runtime, correct_return_codes) and returns: runtime