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

interfaces.cmtk.convert
=======================


.. _nipype.interfaces.cmtk.convert.CFFConverter:


.. index:: CFFConverter

CFFConverter
------------

`Link to code <file:///build/nipype-1.1.8/nipype/interfaces/cmtk/convert.py#L62>`__

Creates a Connectome File Format (CFF) file from input networks, surfaces, volumes, tracts, etcetera....

Example
~~~~~~~

>>> import nipype.interfaces.cmtk as cmtk
>>> cvt = cmtk.CFFConverter()
>>> cvt.inputs.title = 'subject 1'
>>> cvt.inputs.gifti_surfaces = ['lh.pial_converted.gii', 'rh.pial_converted.gii']
>>> cvt.inputs.tract_files = ['streamlines.trk']
>>> cvt.inputs.gpickled_networks = ['network0.gpickle']
>>> cvt.run()                 # doctest: +SKIP

Inputs::

        [Optional]
        rights: (a unicode string)
                Rights
        publisher: (a unicode string)
                Publisher
        gifti_labels: (a list of items which are an existing file name)
                list of GIFTI labels
        timeseries_files: (a list of items which are an existing file name)
                list of HDF5 timeseries files
        description: (a unicode string, nipype default value: Created with
                  the Nipype CFF converter)
                Description
        gpickled_networks: (a list of items which are an existing file name)
                list of gpickled Networkx graphs
        creator: (a unicode string)
                Creator
        title: (a unicode string)
                Connectome Title
        tract_files: (a list of items which are an existing file name)
                list of Trackvis fiber files
        script_files: (a list of items which are an existing file name)
                list of script files to include
        graphml_networks: (a list of items which are an existing file name)
                list of graphML networks
        email: (a unicode string)
                Email address
        references: (a unicode string)
                References
        gifti_surfaces: (a list of items which are an existing file name)
                list of GIFTI surfaces
        license: (a unicode string)
                License
        data_files: (a list of items which are an existing file name)
                list of external data files (i.e. Numpy, HD5, XML)
        nifti_volumes: (a list of items which are an existing file name)
                list of NIFTI volumes
        species: (a unicode string, nipype default value: Homo sapiens)
                Species
        relation: (a unicode string)
                Relation
        out_file: (a file name, nipype default value: connectome.cff)
                Output connectome file

Outputs::

        connectome_file: (an existing file name)
                Output connectome file

.. _nipype.interfaces.cmtk.convert.MergeCNetworks:


.. index:: MergeCNetworks

MergeCNetworks
--------------

`Link to code <file:///build/nipype-1.1.8/nipype/interfaces/cmtk/convert.py#L228>`__

Merges networks from multiple CFF files into one new CFF file.

Example
~~~~~~~

>>> import nipype.interfaces.cmtk as cmtk
>>> mrg = cmtk.MergeCNetworks()
>>> mrg.inputs.in_files = ['subj1.cff','subj2.cff']
>>> mrg.run()                  # doctest: +SKIP

Inputs::

        [Mandatory]
        in_files: (a list of items which are an existing file name)
                List of CFF files to extract networks from

        [Optional]
        out_file: (a file name, nipype default value:
                  merged_network_connectome.cff)
                Output CFF file with all the networks added

Outputs::

        connectome_file: (an existing file name)
                Output CFF file with all the networks added
