## 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:

platform | location
--- | ---
Unix | system: `/etc/mrtrix.conf` user: `$HOME/.mrtrix.conf`
Windows | system: `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:

- Boolean: allowed values here are `true` or `false`
- Integer: any integer value
- Floating-point: any floating-point value
- Text: any text string, without any further interpretation

top

## List of parameters

These parameters are currently interpreted by MRtrix:

Analyse.LeftToRight | bool | specifies the order in which voxels are stored in Analyse format image data files.
NumberOfThreads | integer | number of threads to lauch in multi-threaded applications (e.g. csdeconv)