---
name: "tff_simple_compare.py"
section: "1"
platform: "linux"
package: "python3-trx-python"
version: "0.3-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tff_simple_compare.py"
---

# tff\_simple\_compare.py(1)

compare tractograms by data coordinates subtraction

## NAME

tff\_simple\_compare.py - compare tractograms by data coordinates subtraction

## DESCRIPTION

usage: tff\_simple\_compare.py \[-h\] \[--reference REFERENCE\]

-

  IN\_TRACTOGRAM IN\_TRACTOGRAM

-

  Simple comparison of tractogram by subtracting the coordinates' data.

Does not account for shuffling of streamlines. Simple A-B operations.

Differences below 1e^3 are expected for affine with large rotation/scaling. Difference below 1e^6 are expected for isotropic data with small rotation.

### positional arguments:

- IN\_TRACTOGRAM

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

### options:

- **-h**, **--help**

  show this help message and exit

- **--reference** REFERENCE

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