Deletions are marked like this. | Additions are marked like this. |
Line 59: | Line 59: |
In order to run the tutorials, users must define an environment variable called '''TUTORIAL_DATA''' which must be set to the `tutorial_data` root directory containing the extracted data (i.e. the directories 'buckner_data', 'long-tutorial', 'fsfast-functional', etc.). The tutorials make frequent use of the '''TUTORIAL_DATA''' environment variable and it need to be set properly for any of the tutorials to work. For example: | In order to run the tutorials, users must define an environment variable called '''TUTORIAL_DATA''', which must be set to the `tutorial_data` root directory containing the extracted data (i.e. the directories 'buckner_data', 'long-tutorial', 'fsfast-functional', etc.). The tutorials make frequent use of the '''TUTORIAL_DATA''' environment variable and it need to be set properly for any of the tutorials to work. For example: |
Index
Contents
FreeSurfer Tutorial Datasets
Installation
The following commands will install a complete tutorial_data directory (~8GB) on your machine:
curl https://surfer.nmr.mgh.harvard.edu/pub/data/tutorial_data.tar.gz -o tutorial_data.tar.gz tar -xzvf tutorial_data.tar.gz rm tutorial_data.tar.gz
Configuration
In order to run the tutorials, users must define an environment variable called TUTORIAL_DATA, which must be set to the tutorial_data root directory containing the extracted data (i.e. the directories 'buckner_data', 'long-tutorial', 'fsfast-functional', etc.). The tutorials make frequent use of the TUTORIAL_DATA environment variable and it need to be set properly for any of the tutorials to work. For example:
export TUTORIAL_DATA=/path/to/your/tutorial/dir ls $TUTORIAL_DATA buckner_data fsfast-functional diffusion_recons fsfast-tutorial.subjects diffusion_tutorial long-tutorial
If you see something similar to the above output, you are now ready to start the Freesurfer tutorials.
FreeSurfer Tutorial Datasets 5.1/5.3
Below are links to the previous versions of the tutorial dataset that correspond to freesurfer version 5.1 and 5.3: