dipy_concatenate_tractograms#

Usage#

dipy_concatenate_tractograms [-h] [–reference str] [–delete_dpv] [–delete_dps] [–delete_groups] [–check_space_attributes] [–preallocation] [–out_dir str] [–out_extension str]

[–out_tractogram str] tractogram_files [tractogram_files …]

Concatenate multiple tractograms into one.

Positional Arguments#

tractogram_files The stateful tractogram filenames to concatenate

options:
-h, --help

show this help message and exit

--reference str

Reference anatomy for tck/vtk/fib/dpy file. support (.nii or .nii.gz).

--delete_dpv

Delete dpv keys that do not exist in all the provided TrxFiles

--delete_dps

Delete dps keys that do not exist in all the provided TrxFile

--delete_groups

Delete all the groups that currently exist in the TrxFiles

--check_space_attributes

Verify that dimensions and size of data are similar between all the TrxFiles

--preallocation

Preallocated TrxFile has already been generated and is the first element in trx_list (Note: delete_groups must be set to True as well)

Output Arguments(Optional)#

--out_dir str

Output directory. (default current directory)

--out_extension str

Extension of the resulting tractogram

--out_tractogram str

Name of the resulting tractogram

References#

Garyfallidis, E., M. Brett, B. Amirbekian, A. Rokem, S. Van Der Walt, M. Descoteaux, and I. Nimmo-Smith. Dipy, a library for the analysis of diffusion MRI data. Frontiers in Neuroinformatics, 1-18, 2014.