.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH TFF_VALIDATE_TRX.PY "1" "January 2024" "tff_validate_trx.py 0.2.9" "User Commands" .SH NAME tff_validate_trx.py \- validate a TRX file .SH DESCRIPTION usage: tff_validate_trx.py [\-h] [\-\-out_tractogram OUT_TRACTOGRAM] .TP [\-\-remove_identical_streamlines] [\-\-precision PRECISION] [\-\-reference REFERENCE] [\-f] in_tractogram .PP Validate TRX file. .PP 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. .PP Also removes streamlines with single or no point. The \fB\-\-remove_identical_streamlines\fR 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). .SS "positional arguments:" .TP in_tractogram Tractogram filename. Format must be one of trk, tck, vtk, fib, dpy, trx. .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-out_tractogram\fR OUT_TRACTOGRAM Filename of the tractogram after removing invalid streamlines. .TP \fB\-\-remove_identical_streamlines\fR Remove identical streamlines from the set. .TP \fB\-\-precision\fR PRECISION Number of decimals to keep when hashing the points of streamlines [1]. .TP \fB\-\-reference\fR REFERENCE Reference anatomy for tck/vtk/fib/dpy file support (.nii or .nii.gz). .TP \fB\-f\fR Force overwriting of the output files.