class_docstr: Creates a tract density image from a TrackVis track file using functions
  from dipy
  
  Example
  -------
  
  >>> import nipype.interfaces.dipy as dipy
  >>> trk2tdi = dipy.TrackDensityMap()
  >>> trk2tdi.inputs.in_file = 'converted.trk'
  >>> trk2tdi.run()                                   # doctest: +SKIP
class_docstr_tok: ["Creates","a","tract","density","image","from","a","TrackVis","track","file","using","functions","from","dipy","Example","--","--","--","-",">",">",">","import","nipype.interfaces.dipy","as","dipy",">",">",">","trk2tdi","=","dipy.TrackDensityMap","(",")",">",">",">","trk2tdi.inputs.in_file","=","'converted.trk'",">",">",">","trk2tdi.run","(",")","#","doctest",":","+SKIP"]
code: def _list_outputs(self):
      outputs = self._outputs().get()
      outputs["out_file"] = op.abspath(self.inputs.out_filename)
      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 TrackDensityMap obj's underlying member method code with example usage: obj._list_outputs() and returns: outputs