Location

MRtrix applications will attempt to read configuration information from a number of possible locations, if they exist. There will in general be a system-wide configuration file, and a user specific configuration file. Their exact location is platform-dependent, as detailed below:

platformlocation
Unixsystem: /etc/mrtrix.conf
user: $HOME/.mrtrix.conf
Windowssystem: C:\mrtrix.conf
user: $HOME\mrtrix.conf (e.g. C:\Documents and Settings\username\mrtrix.conf)

The system-wide configuration file will be read first (if found), followed by the user configuration file (if found). In case of conflict between the system-wide and user configuration, the user settings will be used. If a particular configuration parameter is not defined, MRtrix will use hard-coded defaults.

top

Format

The configuration files are text files, with each line containing a key: value pair. For example:

Analyse.LeftToRight: false
NumberOfThreads: 2

Note: key names are case-sensitive.

The value entry may be interpreted by MRtrix applications as either:

top

List of parameters

These parameters are currently interpreted by MRtrix:

Analyse.LeftToRightboolspecifies the order in which voxels are stored in Analyse format image data files.
NumberOfThreadsintegernumber of threads to lauch in multi-threaded applications (e.g. csdeconv)