Installation
Table of contents
Installing TMI
TMI is installed alongside Designer. TMI is written in python and and is an external Mrtrix3 project.
Please follow the installation instructions for Designer.
Requirements and Dependencies
When installing from source (not using Docker), TMI requires a source installation of mrtrix3 in order to run. A future update of the mrtrix3 precompiled binaries may eliminate these requirements, however as of today, users must follow the steps here to configure and build the source mrtrix3 package. After mrtrix3 has been successfully installed, users should create the PYTHONPATH environment variable and link it against the mrtrix3 python libraries:
export PYTHONPATH=</path/to/mrtrix3/lib>
For example, if a user clones the mrtrix3 github repository to the directory /usr/local/mrtrix3, they would run the command export PYTHONPATH=/usr/local/mrtrix3/lib. We recommend that users add this line to their .bashrc or .bash_profile so that designer is permanently configured properly in the users shell environment.
TMI’s Python dependencies (numpy, scipy, dipy, cvxpy, and others) are installed automatically by uv sync from the pinned versions in uv.lock, or come preinstalled in the Docker image. There is no need to install them yourself or to manage a separate conda or pyenv environment. TMI requires Python 3.10 or newer and is developed and tested with Python 3.12.