.. AUTO-GENERATED FILE -- DO NOT EDIT!

interfaces.mrtrix.convert
=========================


.. _nipype.interfaces.mrtrix.convert.MRTrix2TrackVis:


.. index:: MRTrix2TrackVis

MRTrix2TrackVis
---------------

`Link to code <http://github.com/nipy/nipype/tree/99796c15f2e157774a3f54f878fdd06ad981a80b/nipype/interfaces/mrtrix/convert.py#L146>`_

Converts MRtrix (.tck) tract files into TrackVis (.trk) format
using functions from dipy

Example
~~~~~~~

>>> import nipype.interfaces.mrtrix as mrt
>>> tck2trk = mrt.MRTrix2TrackVis()
>>> tck2trk.inputs.in_file = 'dwi_CSD_tracked.tck'
>>> tck2trk.inputs.image_file = 'diffusion.nii'
>>> tck2trk.run()                                   # doctest: +SKIP

Inputs::

        [Mandatory]
        in_file: (an existing file name)
                The input file for the tracks in MRTrix (.tck) format

        [Optional]
        image_file: (an existing file name)
                The image the tracks were generated from
        matrix_file: (an existing file name)
                A transformation matrix to apply to the tracts after they have been generated (from
                FLIRT - affine transformation from image_file to registration_image_file)
        out_filename: (a file name, nipype default value: converted.trk)
                The output filename for the tracks in TrackVis (.trk) format
        registration_image_file: (an existing file name)
                The final image the tracks should be registered to.

Outputs::

        out_file: (an existing file name)

.. module:: nipype.interfaces.mrtrix.convert


.. _nipype.interfaces.mrtrix.convert.read_mrtrix_header:

:func:`read_mrtrix_header`
--------------------------

`Link to code <http://github.com/nipy/nipype/tree/99796c15f2e157774a3f54f878fdd06ad981a80b/nipype/interfaces/mrtrix/convert.py#L46>`_






.. _nipype.interfaces.mrtrix.convert.read_mrtrix_streamlines:

:func:`read_mrtrix_streamlines`
-------------------------------

`Link to code <http://github.com/nipy/nipype/tree/99796c15f2e157774a3f54f878fdd06ad981a80b/nipype/interfaces/mrtrix/convert.py#L66>`_






.. _nipype.interfaces.mrtrix.convert.read_mrtrix_tracks:

:func:`read_mrtrix_tracks`
--------------------------

`Link to code <http://github.com/nipy/nipype/tree/99796c15f2e157774a3f54f878fdd06ad981a80b/nipype/interfaces/mrtrix/convert.py#L41>`_






.. _nipype.interfaces.mrtrix.convert.transform_to_affine:

:func:`transform_to_affine`
---------------------------

`Link to code <http://github.com/nipy/nipype/tree/99796c15f2e157774a3f54f878fdd06ad981a80b/nipype/interfaces/mrtrix/convert.py#L33>`_





