Tutorials#

These tutorials demonstrate how to use the trx-python library for working with TRX tractography files.

Getting Started#

New to TRX? These tutorials will guide you through:

  1. Reading and Writing TRX Files - Load, inspect, and save TRX files

  2. Working with Groups - Organize streamlines into anatomical bundles

  3. Data Per Vertex and Streamline - Work with metadata

Prerequisites#

To run these tutorials, you need:

  • trx-python installed (pip install trx-python[all])

  • An internet connection (for downloading test data on first run)

Each tutorial can be run as a Python script or in a Jupyter notebook.

Reading and Writing TRX Files

Reading and Writing TRX Files

Working with Groups

Working with Groups

Data Per Vertex and Data Per Streamline

Data Per Vertex and Data Per Streamline

Gallery generated by Sphinx-Gallery