class_docstr: Converts separate b-values and b-vectors from text files (FSL style) into a
  4xN text file in which each line is in the format [ X Y Z b ], where [ X Y Z ]
  describe the direction of the applied gradient, and b gives the
  b-value in units (1000 s/mm^2).
  
  Example
  -------
  
  >>> import nipype.interfaces.mrtrix as mrt
  >>> fsl2mrtrix = mrt.FSL2MRTrix()
  >>> fsl2mrtrix.inputs.bvec_file = 'bvecs'
  >>> fsl2mrtrix.inputs.bval_file = 'bvals'
  >>> fsl2mrtrix.inputs.invert_y = True
  >>> fsl2mrtrix.run()                                # doctest: +SKIP
class_docstr_tok: ["Converts","separate","b-values","and","b-vectors","from","text","files","(","FSL","style",")","into","a","4xN","text","file","in","which","each","line","is","in","the","format","[","X","Y","Z","b","]",",","where","[","X","Y","Z","]","describe","the","direction","of","the","applied","gradient",",","and","b","gives","the","b-value","in","units","(","1000","s\/mm^2",")",".","Example","--","--","--","-",">",">",">","import","nipype.interfaces.mrtrix","as","mrt",">",">",">","fsl2mrtrix","=","mrt.FSL2MRTrix","(",")",">",">",">","fsl2mrtrix.inputs.bvec_file","=","'bvecs'",">",">",">","fsl2mrtrix.inputs.bval_file","=","'bvals'",">",">",">","fsl2mrtrix.inputs.invert_y","=","True",">",">",">","fsl2mrtrix.run","(",")","#","doctest",":","+SKIP"]
code: def _gen_filename(self, name):
      if name == "out_encoding_file":
          return self._gen_outfilename()
      else:
          return None
  
imports: import os.path
  import numpy
  from ...None import logging
  from ...utils.filemanip import split_filename
  from ..base import CommandLineInputSpec, CommandLine, BaseInterface, traits, File, TraitedSpec, isdefined
label_desc: Use image node_id 3 for calling the FSL2MRTrix obj's underlying member method code with example usage: obj._gen_filename(name) and returns: self, None