class_docstr: Wraps camino_to_trackvis from Camino-Trackvis
  
  Convert files from camino .Bfloat format to trackvis .trk format.
  
  Example
  -------
  
  >>> import nipype.interfaces.camino2trackvis as cam2trk
  >>> c2t = cam2trk.Camino2Trackvis()
  >>> c2t.inputs.in_file = 'data.Bfloat'
  >>> c2t.inputs.out_file = 'streamlines.trk'
  >>> c2t.inputs.min_length = 30
  >>> c2t.inputs.data_dims = [128, 104, 64]
  >>> c2t.inputs.voxel_dims = [2.0, 2.0, 2.0]
  >>> c2t.inputs.voxel_order = 'LAS'
  >>> c2t.run()                  # doctest: +SKIP
class_docstr_tok: ["Wraps","camino_to_trackvis","from","Camino-Trackvis","Convert","files","from","camino",".Bfloat","format","to","trackvis",".trk","format",".","Example","--","--","--","-",">",">",">","import","nipype.interfaces.camino2trackvis","as","cam2trk",">",">",">","c2t","=","cam2trk.Camino2Trackvis","(",")",">",">",">","c2t.inputs.in_file","=","'data.Bfloat'",">",">",">","c2t.inputs.out_file","=","'streamlines.trk'",">",">",">","c2t.inputs.min_length","=","30",">",">",">","c2t.inputs.data_dims","=","[","128",",","104",",","64","]",">",">",">","c2t.inputs.voxel_dims","=","[","2.0",",","2.0",",","2.0","]",">",">",">","c2t.inputs.voxel_order","=","'LAS'",">",">",">","c2t.run","(",")","#","doctest",":","+SKIP"]
code: def _gen_filename(self, name):
      if name == "out_file":
          return self._gen_outfilename()
      else:
          return None
  
imports: import os
  from ...utils.filemanip import split_filename
  from ..base import CommandLineInputSpec, CommandLine, traits, TraitedSpec, File
label_desc: Use image node_id 2 for calling the Camino2Trackvis obj's underlying member method code with example usage: obj._gen_filename(name) and returns: self, None