tff_validate_trx - Man Page

manual page for usage: tff_validate_trx [-h] [--out_tractogram OUT_TRACTOGRAM]


usage: tff_validate_trx [-h] [--out_tractogram OUT_TRACTOGRAM]


[--precision PRECISION] [--reference REFERENCE] [-f] in_tractogram

Validate TRX file.

Removes streamlines that are out of the volume bounding box. In voxel space, no negative coordinate and no above volume dimension coordinate are possible. Any streamline that do not respect these two conditions are removed.

Also removes streamlines with single or no point. The --remove_identical_streamlines option will remove identical streamlines. 'identical' is defined as having the same number of points and the same points coordinates (to a specified precision, using a hash table).

positional arguments


Tractogram filename. Format must be one of trk, tck, vtk, fib, dpy, trx.


-h, --help

show this help message and exit

--out_tractogram OUT_TRACTOGRAM

Filename of the tractogram after removing invalid streamlines.


Remove identical streamlines from the set.

--precision PRECISION

Number of decimals to keep when hashing the points of streamlines [1].

--reference REFERENCE

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


Force overwriting of the output files.


[--precision PRECISION] [--reference REFERENCE] [-f] in_tractogram

tff_validate_trx: error: the following arguments are required: in_tractogram


April 2024 usage: tff_validate_trx [-h] [--out_tractogram OUT_TRACTOGRAM]