|
55 | 55 | "\n",
|
56 | 56 | "The dataset for this tutorial is coming from [https://openfmri.org/](https://openfmri.org/), a homepage dedicated to the free and open sharing of raw magnetic resonance imaging (MRI) datasets. We already downloaded the dataset [ds000114](https://github.com/datalad/ds000114) into the data folder at the current location. To reduce the size of the total dataset, only the first two subjects (`sub-01` and `sub-02`) were kept.\n",
|
57 | 57 | "\n",
|
58 |
| - "So let's have a look at the tutorial dataset for `sub-01`." |
| 58 | + "So let's have a look at the tutorial dataset." |
59 | 59 | ]
|
60 | 60 | },
|
61 | 61 | {
|
62 | 62 | "cell_type": "code",
|
63 |
| - "execution_count": null, |
| 63 | + "execution_count": 4, |
64 | 64 | "metadata": {
|
65 | 65 | "collapsed": false,
|
66 | 66 | "deletable": true,
|
|
71 | 71 | "name": "stdout",
|
72 | 72 | "output_type": "stream",
|
73 | 73 | "text": [
|
74 |
| - "/data/ds000114/sub-01/\r\n", |
75 |
| - "├── anat\r\n", |
76 |
| - "│ └── sub-01_T1w.nii.gz -> ../../.git/annex/objects/QP/jm/MD5E-s8677710--d6820f6cb8fb965e864419c14f6a22d5.nii.gz/MD5E-s8677710--d6820f6cb8fb965e864419c14f6a22d5.nii.gz\r\n", |
77 |
| - "├── dwi\r\n", |
78 |
| - "│ └── sub-01_dwi.nii.gz -> ../../.git/annex/objects/X2/kJ/MD5E-s104193417--454850ac9ed1c96c40b6b7946e51bf71.nii.gz/MD5E-s104193417--454850ac9ed1c96c40b6b7946e51bf71.nii.gz\r\n", |
79 |
| - "└── func\r\n", |
80 |
| - " ├── sub-01_task-fingerfootlips_bold.nii.gz -> ../../.git/annex/objects/k6/4f/MD5E-s24454931--e9ab535d84a922b0c7ed52461244cf47.nii.gz/MD5E-s24454931--e9ab535d84a922b0c7ed52461244cf47.nii.gz\r\n", |
81 |
| - " ├── sub-01_task-linebisection_bold.nii.gz -> ../../.git/annex/objects/32/Qq/MD5E-s31617092--151bc230c3b577110883369b6fad0daa.nii.gz/MD5E-s31617092--151bc230c3b577110883369b6fad0daa.nii.gz\r\n", |
82 |
| - " └── sub-01_task-linebisection_events.tsv\r\n", |
| 74 | + "/data/ds000114/\r\n", |
| 75 | + "├── dataset_description.json\r\n", |
| 76 | + "├── derivatives\r\n", |
| 77 | + "│ └── freesurfer\r\n", |
| 78 | + "│ ├── sub-01\r\n", |
| 79 | + "│ ├── sub-02\r\n", |
| 80 | + "│ └── Untitled1.ipynb\r\n", |
| 81 | + "├── dwi.bval\r\n", |
| 82 | + "├── dwi.bvec\r\n", |
| 83 | + "├── sub-01\r\n", |
| 84 | + "│ ├── anat\r\n", |
| 85 | + "│ │ └── sub-01_T1w.nii.gz -> ../../.git/annex/objects/QP/jm/MD5E-s8677710--d6820f6cb8fb965e864419c14f6a22d5.nii.gz/MD5E-s8677710--d6820f6cb8fb965e864419c14f6a22d5.nii.gz\r\n", |
| 86 | + "│ ├── dwi\r\n", |
| 87 | + "│ │ └── sub-01_dwi.nii.gz -> ../../.git/annex/objects/X2/kJ/MD5E-s104193417--454850ac9ed1c96c40b6b7946e51bf71.nii.gz/MD5E-s104193417--454850ac9ed1c96c40b6b7946e51bf71.nii.gz\r\n", |
| 88 | + "│ └── func\r\n", |
| 89 | + "│ ├── sub-01_task-fingerfootlips_bold.nii.gz -> ../../.git/annex/objects/k6/4f/MD5E-s24454931--e9ab535d84a922b0c7ed52461244cf47.nii.gz/MD5E-s24454931--e9ab535d84a922b0c7ed52461244cf47.nii.gz\r\n", |
| 90 | + "│ ├── sub-01_task-linebisection_bold.nii.gz -> ../../.git/annex/objects/32/Qq/MD5E-s31617092--151bc230c3b577110883369b6fad0daa.nii.gz/MD5E-s31617092--151bc230c3b577110883369b6fad0daa.nii.gz\r\n", |
| 91 | + "│ └── sub-01_task-linebisection_events.tsv\r\n", |
| 92 | + "├── sub-02\r\n", |
| 93 | + "│ ├── anat\r\n", |
| 94 | + "│ │ └── sub-02_T1w.nii.gz -> ../../.git/annex/objects/qq/gm/MD5E-s10025785--0e790e210a275d76e3f2f4d895df6358.nii.gz/MD5E-s10025785--0e790e210a275d76e3f2f4d895df6358.nii.gz\r\n", |
| 95 | + "│ ├── dwi\r\n", |
| 96 | + "│ │ └── sub-02_dwi.nii.gz -> ../../.git/annex/objects/8x/vp/MD5E-s104222416--86575d07809e9c717079592a12c69344.nii.gz/MD5E-s104222416--86575d07809e9c717079592a12c69344.nii.gz\r\n", |
| 97 | + "│ └── func\r\n", |
| 98 | + "│ ├── sub-02_task-fingerfootlips_bold.nii.gz -> ../../.git/annex/objects/pG/k1/MD5E-s24882575--75c39bee9e25e02c629dfcce1b378589.nii.gz/MD5E-s24882575--75c39bee9e25e02c629dfcce1b378589.nii.gz\r\n", |
| 99 | + "│ ├── sub-02_task-linebisection_bold.nii.gz -> ../../.git/annex/objects/WM/m9/MD5E-s32248732--4cd877de7b4c66e073610dffb67dfbcc.nii.gz/MD5E-s32248732--4cd877de7b4c66e073610dffb67dfbcc.nii.gz\r\n", |
| 100 | + "│ └── sub-02_task-linebisection_events.tsv\r\n", |
| 101 | + "├── task-fingerfootlips_bold.json\r\n", |
| 102 | + "├── task-fingerfootlips_events.tsv\r\n", |
| 103 | + "└── task-linebisection_bold.json\r\n", |
83 | 104 | "\r\n",
|
84 |
| - "3 directories, 5 files\r\n" |
| 105 | + "12 directories, 17 files\r\n" |
85 | 106 | ]
|
86 | 107 | }
|
87 | 108 | ],
|
88 | 109 | "source": [
|
89 |
| - "!tree /data/ds000114/sub-01/" |
| 110 | + "!tree -L 3 /data/ds000114/" |
90 | 111 | ]
|
91 | 112 | },
|
92 | 113 | {
|
|
96 | 117 | "editable": true
|
97 | 118 | },
|
98 | 119 | "source": [
|
99 |
| - "As you can, we have one anatomical T1w image, two functional images, `fingerfootlips` and `linebisection`, and one diffusion weighted image. " |
| 120 | + "As you can, for every subject we have one anatomical T1w image, two functional images, `fingerfootlips` and `linebisection`, and one diffusion weighted image. In addition, we have directory with derivatives. \n", |
| 121 | + "\n", |
| 122 | + "If you used `datalad` or `git annex` to get the dataset, you can see symlinks for the image files." |
100 | 123 | ]
|
101 | 124 | },
|
102 | 125 | {
|
|
118 | 141 | },
|
119 | 142 | {
|
120 | 143 | "cell_type": "code",
|
121 |
| - "execution_count": null, |
| 144 | + "execution_count": 5, |
122 | 145 | "metadata": {
|
123 | 146 | "collapsed": false,
|
124 | 147 | "deletable": true,
|
|
0 commit comments