Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

This website has been deprecated and exists as an archive only.

The TORTOISE website has been moved to https://tortoise.nibib.nih.gov.

For any information about TORTOISE generation V3.x.x, please refer to the new website.

3.1 Configuration File

The first time you run DIFF_CALC, it will create a working directory with a default configuration file. This file tells the software where your initial working directory is located, and where to write a log file.

There is also a sample configuration file provided with the software called configfile_simple.xml. You can download the sample xml file by right clicking on the link and selecting "save link as".

The configfile_simple.xml file contains the following lines:

<!-- DTI initialization file -->
<!-- do not remove the above comment line -->

<!-- Turn on the ability to write all the statements to a logfile -->
<!-- 0 = no, 1 = yes to new file, 2 = yes to existing file (overwrite), and -->
<!-- 3 = yes to existing file (append) -->
<writelog>2</writelog>

<!-- If the user wants to write out a logfile, this is the path and filename -->
<logname>~/DIFF_CALC_WORK/log.txt</logname>

<!-- this tag defines the initial working directory. This should be where your data is contained -->
<!-- the default working directory is your home directory -->
<curdir>~</curdir>

<!-- desired image input and output type. Options are ANALYZE and NIFTI -->
<analyze_image_type>NIFTI</analyze_image_type>

More advanced settings can be set, and are described in the following section.