class_docstr: Streamline tractography using EuDX [Garyfallidis12]_.
  
  .. [Garyfallidis12] Garyfallidis E., “Towards an accurate brain
    tractography”, PhD thesis, University of Cambridge, 2012
  
  Example
  -------
  
  >>> from nipype.interfaces import dipy as ndp
  >>> track = ndp.StreamlineTractography()
  >>> track.inputs.in_file = '4d_dwi.nii'
  >>> track.inputs.in_model = 'model.pklz'
  >>> track.inputs.tracking_mask = 'dilated_wm_mask.nii'
  >>> res = track.run() # doctest: +SKIP
class_docstr_tok: ["Streamline","tractography","using","EuDX","[","Garyfallidis12","]","_",".","..","[","Garyfallidis12","]","Garyfallidis","E.",",","\u201c","Towards","an","accurate","brain","tractography","\u201d",",","PhD","thesis",",","University","of","Cambridge",",","2012","Example","--","--","--","-",">",">",">","from","nipype.interfaces","import","dipy","as","ndp",">",">",">","track","=","ndp.StreamlineTractography","(",")",">",">",">","track.inputs.in_file","=","'4d_dwi.nii'",">",">",">","track.inputs.in_model","=","'model.pklz'",">",">",">","track.inputs.tracking_mask","=","'dilated_wm_mask.nii'",">",">",">","res","=","track.run","(",")","#","doctest",":","+SKIP"]
code: def _list_outputs(self):
      outputs = self._outputs().get()
      outputs["tracks"] = self._gen_filename("tracked", ext=".trk")
      outputs["gfa"] = self._gen_filename("gfa")
      if self._save_peaks:
          outputs["odf_peaks"] = self._gen_filename(
              "peaks", ext=".pklz"
          )
      if self.inputs.save_seeds:
          if isdefined(self.inputs.seed_coord):
              outputs["out_seeds"] = self.inputs.seed_coord
          else:
              outputs["out_seeds"] = self._gen_filename(
                  "seeds", ext=".txt"
              )
  
      return outputs
  
imports: import os.path
  import numpy
  import nibabel
  from looseversion import LooseVersion
  from ...None import logging
  from ..base import TraitedSpec, BaseInterfaceInputSpec, File, isdefined, traits
  from .base import DipyBaseInterface, HAVE_DIPY, dipy_version, dipy_to_nipype_interface, get_dipy_workflows
label_desc: Use image node_id 2 for calling the StreamlineTractography obj's underlying member method code with example usage: obj._list_outputs() and returns: outputs