class_docstr: Uses SPM to apply transform stored in a .mat file to given file
  
  Examples
  --------
  
  >>> import nipype.interfaces.spm.utils as spmu
  >>> applymat = spmu.ApplyTransform()
  >>> applymat.inputs.in_file = 'functional.nii'
  >>> applymat.inputs.mat = 'func_to_struct.mat'
  >>> applymat.run() # doctest: +SKIP
class_docstr_tok: ["Uses","SPM","to","apply","transform","stored","in","a",".mat","file","to","given","file","Examples","--","--","--","--",">",">",">","import","nipype.interfaces.spm.utils","as","spmu",">",">",">","applymat","=","spmu.ApplyTransform","(",")",">",">",">","applymat.inputs.in_file","=","'functional.nii'",">",">",">","applymat.inputs.mat","=","'func_to_struct.mat'",">",">",">","applymat.run","(",")","#","doctest",":","+SKIP"]
code: def _list_outputs(self):
      outputs = self.output_spec().get()
      if not isdefined(self.inputs.out_file):
          outputs["out_file"] = os.path.abspath(self._gen_outfilename())
      else:
          outputs["out_file"] = os.path.abspath(self.inputs.out_file)
      return outputs
  
imports: import os
  import numpy
  from ...utils.filemanip import split_filename, fname_presuffix, ensure_list, simplify_list
  from ..base import TraitedSpec, isdefined, File, traits, OutputMultiPath, InputMultiPath
  from .base import SPMCommandInputSpec, SPMCommand, scans_for_fnames, scans_for_fname
label_desc: Use image node_id 2 for calling the ApplyTransform obj's underlying member method code with example usage: obj._list_outputs() and returns: outputs