class_docstr: Uses RESTORE [Chang2005]_ to perform DTI fitting with outlier detection.
  The interface uses :py:mod:`dipy`, as explained in `dipy's documentation`_.
  
  .. [Chang2005] Chang, LC, Jones, DK and Pierpaoli, C. RESTORE: robust     estimation of tensors by outlier rejection. MRM, 53:1088-95, (2005).
  
  .. _dipy's documentation:     http://nipy.org/dipy/examples_built/restore_dti.html
  
  
  Example
  -------
  
  >>> from nipype.interfaces import dipy as ndp
  >>> dti = ndp.RESTORE()
  >>> dti.inputs.in_file = '4d_dwi.nii'
  >>> dti.inputs.in_bval = 'bvals'
  >>> dti.inputs.in_bvec = 'bvecs'
  >>> res = dti.run() # doctest: +SKIP
class_docstr_tok: ["Uses","RESTORE","[","Chang2005","]","_","to","perform","DTI","fitting","with","outlier","detection",".","The","interface","uses",":","py",":","mod",":","`","dipy","`",",","as","explained","in","`","dipy","'s","documentation","`","_",".","..","[","Chang2005","]","Chang",",","LC",",","Jones",",","DK","and","Pierpaoli",",","C.","RESTORE",":","robust","estimation","of","tensors","by","outlier","rejection",".","MRM",",","53:1088-95",",","(","2005",")",".","..","_dipy","'s","documentation",":","http",":","\/\/nipy.org\/dipy\/examples_built\/restore_dti.html","Example","--","--","--","-",">",">",">","from","nipype.interfaces","import","dipy","as","ndp",">",">",">","dti","=","ndp.RESTORE","(",")",">",">",">","dti.inputs.in_file","=","'4d_dwi.nii'",">",">",">","dti.inputs.in_bval","=","'bvals'",">",">",">","dti.inputs.in_bvec","=","'bvecs'",">",">",">","res","=","dti.run","(",")","#","doctest",":","+SKIP"]
code: def _list_outputs(self):
      outputs = self._outputs().get()
      for k in list(outputs.keys()):
          outputs[k] = self._gen_filename(k)
      return outputs
  
imports: import os.path
  import numpy
  import nibabel
  from looseversion import LooseVersion
  from ...None import logging
  from ..base import TraitedSpec, File, traits, isdefined
  from .base import DipyDiffusionInterface, DipyBaseInterfaceInputSpec, HAVE_DIPY, dipy_version, dipy_to_nipype_interface, get_dipy_workflows
label_desc: Use image node_id 2 for calling the RESTORE obj's underlying member method code with example usage: obj._list_outputs() and returns: outputs