This document is the specification for the TRX file format. It describes the structure of a TRX file and its components. For documentation of TRX, including specific language implementations and example usage, please visit the TRX main webpage
Only (or mostly) for use-readability, read-time checks and broader compatibility.
NB_VERTICES, so that all streamlines lengths can be calculated as the differences between consecutive elements of the array(ediff1d in numpy).Groups are tables of indices that allow sparse & overlapping representation(clusters, connectomics, bundles).
example.trx
├── dpg
│ ├── AF_L
│ │ ├── mean_fa.float16
│ │ ├── shuffle_colors.3.uint8
│ │ └── volume.uint32
│ ├── AF_R
│ │ ├── mean_fa.float16
│ │ ├── shuffle_colors.3.uint8
│ │ └── volume.uint32
│ ├── CC
│ │ ├── mean_fa.float16
│ │ ├── shuffle_colors.3.uint8
│ │ └── volume.uint32
│ ├── CST_L
│ │ └── shuffle_colors.3.uint8
│ ├── CST_R
│ │ └── shuffle_colors.3.uint8
│ ├── SLF_L
│ │ ├── mean_fa.float16
│ │ ├── shuffle_colors.3.uint8
│ │ └── volume.uint32
│ └── SLF_R
│ ├── mean_fa.float16
│ ├── shuffle_colors.3.uint8
│ └── volume.uint32
├── dpv
│ ├── color_x.uint8
│ ├── color_y.uint8
│ ├── color_z.uint8
│ └── fa.float16
├── dps
│ ├── algo.uint8
│ ├── algo.json
│ ├── clusters_QB.uint16
│ ├── commit_colors.3.uint8
│ └── commit_weights.float32
├── groups
│ ├── AF_L.uint32
│ ├── AF_R.uint32
│ ├── CC.uint32
│ ├── CST_L.uint32
│ ├── CST_R.uint32
│ ├── SLF_L.uint32
│ └── SLF_R.uint32
├── header.json
├── offsets.uint64
└── positions.3.float16