class_docstr: ANTS wrapper for registration of images
  (old, use Registration instead)
  
  Examples
  --------
  
  >>> from nipype.interfaces.ants import ANTS
  >>> ants = ANTS()
  >>> ants.inputs.dimension = 3
  >>> ants.inputs.output_transform_prefix = 'MY'
  >>> ants.inputs.metric = ['CC']
  >>> ants.inputs.fixed_image = ['T1.nii']
  >>> ants.inputs.moving_image = ['resting.nii']
  >>> ants.inputs.metric_weight = [1.0]
  >>> ants.inputs.radius = [5]
  >>> ants.inputs.transformation_model = 'SyN'
  >>> ants.inputs.gradient_step_length = 0.25
  >>> ants.inputs.number_of_iterations = [50, 35, 15]
  >>> ants.inputs.use_histogram_matching = True
  >>> ants.inputs.mi_option = [32, 16000]
  >>> ants.inputs.regularization = 'Gauss'
  >>> ants.inputs.regularization_gradient_field_sigma = 3
  >>> ants.inputs.regularization_deformation_field_sigma = 0
  >>> ants.inputs.number_of_affine_iterations = [10000,10000,10000,10000,10000]
  >>> ants.cmdline
  'ANTS 3 --MI-option 32x16000 --image-metric CC[ T1.nii, resting.nii, 1, 5 ] --number-of-affine-iterations 10000x10000x10000x10000x10000 --number-of-iterations 50x35x15 --output-naming MY --regularization Gauss[3.0,0.0] --transformation-model SyN[0.25] --use-Histogram-Matching 1'
class_docstr_tok: ["ANTS","wrapper","for","registration","of","images","(","old",",","use","Registration","instead",")","Examples","--","--","--","--",">",">",">","from","nipype.interfaces.ants","import","ANTS",">",">",">","ants","=","ANTS","(",")",">",">",">","ants.inputs.dimension","=","3",">",">",">","ants.inputs.output_transform_prefix","=","'MY'",">",">",">","ants.inputs.metric","=","[","'CC","'","]",">",">",">","ants.inputs.fixed_image","=","[","'T1.nii","'","]",">",">",">","ants.inputs.moving_image","=","[","'resting.nii","'","]",">",">",">","ants.inputs.metric_weight","=","[","1.0","]",">",">",">","ants.inputs.radius","=","[","5","]",">",">",">","ants.inputs.transformation_model","=","'SyN'",">",">",">","ants.inputs.gradient_step_length","=","0.25",">",">",">","ants.inputs.number_of_iterations","=","[","50",",","35",",","15","]",">",">",">","ants.inputs.use_histogram_matching","=","True",">",">",">","ants.inputs.mi_option","=","[","32",",","16000","]",">",">",">","ants.inputs.regularization","=","'Gauss'",">",">",">","ants.inputs.regularization_gradient_field_sigma","=","3",">",">",">","ants.inputs.regularization_deformation_field_sigma","=","0",">",">",">","ants.inputs.number_of_affine_iterations","=","[","10000,10000,10000,10000,10000","]",">",">",">","ants.cmdline","'ANTS","3","--","MI-option","32x16000","--","image-metric","CC","[","T1.nii",",","resting.nii",",","1",",","5","]","--","number-of-affine-iterations","10000x10000x10000x10000x10000","--","number-of-iterations","50x35x15","--","output-naming","MY","--","regularization","Gauss","[","3.0,0.0","]","--","transformation-model","SyN","[","0.25","]","--","use-Histogram-Matching","1","'"]
code: def _list_outputs(self):
      outputs = self._outputs().get()
      outputs["affine_transform"] = os.path.abspath(
          self.inputs.output_transform_prefix + "Affine.txt"
      )
      outputs["warp_transform"] = os.path.abspath(
          self.inputs.output_transform_prefix + "Warp.nii.gz"
      )
      outputs["inverse_warp_transform"] = os.path.abspath(
          self.inputs.output_transform_prefix + "InverseWarp.nii.gz"
      )
      # outputs['metaheader'] = os.path.abspath(self.inputs.output_transform_prefix + 'velocity.mhd')
      # outputs['metaheader_raw'] = os.path.abspath(self.inputs.output_transform_prefix + 'velocity.raw')
      return outputs
  
imports: import os
  from ...utils.filemanip import ensure_list
  from ..base import TraitedSpec, File, Str, traits, InputMultiPath, isdefined
  from .base import ANTSCommand, ANTSCommandInputSpec, LOCAL_DEFAULT_NUMBER_OF_THREADS
label_desc: Use image node_id 6 for calling the ANTS obj's underlying member method code with example usage: obj._list_outputs() and returns: outputs