You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DOC] Remove parts about SPM + MATLAB set-up from the documentation. (aramis-lab#1622)
* Remove SPM + MATLAB mentions
* Test for spacing
* Test for spacing 2
* Test spacing table 3
* Adjust table size
* Change column size in css
* Try2
* Update css 3
* Final fix on css
* Modify name
Copy file name to clipboardExpand all lines: docs/CAPS/Specifications.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,9 +64,9 @@ subjects/
64
64
└─ <source_file>_segm-<segm>_dartelinput.nii.gz
65
65
```
66
66
67
-
- The `modulated-{on|off}` key indicates if modulation has been used in [SPM](../Software/Third-party.md#spm12) to compensate for the effect of spatial normalization.
67
+
- The `modulated-{on|off}` key indicates if modulation has been used in [SPM](../Software/Third-party.md#spm-standalone) to compensate for the effect of spatial normalization.
68
68
- The possible values for the `segm-<segm>` key/value are: `graymatter`, `whitematter`, `csf`, `bone`, `softtissue`, and `background`.
69
-
- The T1 image in `Ixi549Space` (reference space of the TPM) is obtained by applying the transformation obtained from the [SPM](../Software/Third-party.md#spm12) segmentation routine to the T1 image in native space.
69
+
- The T1 image in `Ixi549Space` (reference space of the TPM) is obtained by applying the transformation obtained from the [SPM](../Software/Third-party.md#spm-standalone) segmentation routine to the T1 image in native space.
70
70
71
71
#### DARTEL
72
72
@@ -81,7 +81,7 @@ groups/
81
81
```
82
82
83
83
- The final group template is `<group_id>_template.nii.gz`.
84
-
- The `<group_id>_iteration-<index>_template.nii.gz` obtained at each iteration will only be used when obtaining flow fields for registering a new image into an existing template ([SPM](../Software/Third-party.md#spm12) DARTEL existing templates procedure).
84
+
- The `<group_id>_iteration-<index>_template.nii.gz` obtained at each iteration will only be used when obtaining flow fields for registering a new image into an existing template ([SPM](../Software/Third-party.md#spm-standalone) DARTEL existing templates procedure).
85
85
86
86
!!! Note "Note for SPM experts"
87
87
The original name of `<group_id>_iteration-<index>_template.nii.gz` is `Template<index>.nii`.
Copy file name to clipboardExpand all lines: docs/IOTools/center_nifti.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# `center-nifti` - Center NIfTI files of a BIDS directory
2
2
3
3
Your [BIDS](http://bids.neuroimaging.io) dataset may contain NIfTI files where the origin does not correspond to the center of the image (i.e. the anterior commissure).
4
-
[SPM](../Software/Third-party.md#spm12) is especially sensitive to this case and segmentation procedures may result in blank images or even fail.
4
+
[SPM](../Software/Third-party.md#spm-standalone) is especially sensitive to this case and segmentation procedures may result in blank images or even fail.
5
5
To mitigate this issue we offer a simple tool that generates from your BIDS a new dataset with centered NIfTI files for the selected modalities.
Copy file name to clipboardExpand all lines: docs/Pipelines/PET_Surface.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,5 @@
1
1
<!-- markdownlint-disable MD033 MD046 -->
2
2
3
-
--8<-- "snippets/spm_banner.md"
4
-
5
3
# `pet-surface` - Surface-based processing of PET images
6
4
7
5
This pipeline performs several processing steps for the analysis of PET data on the cortical surface [[Marcoux et al., 2018](https://doi.org/10.3389/fninf.2018.00094)]:
@@ -25,9 +23,7 @@ You need to have performed the [`t1-freesurfer`](./T1_FreeSurfer.md) pipeline on
25
23
26
24
## Dependencies
27
25
28
-
If you only installed the core of Clinica, this pipeline needs the installation of [FreeSurfer 6.0](../Software/Third-party.md#freesurfer), [FSL 6.0](../Software/Third-party.md#fsl), and [PETPVC 1.2.4](../Software/Third-party.md#petpvc) (which depends on [ITK 4](../Software/Third-party.md#itk)) on your computer.
29
-
30
-
In addition, you also need to either install [SPM12](../Software/Third-party.md#spm12) and [Matlab](../Software/Third-party.md#matlab), or [spm standalone](../Software/Third-party.md#spm12-standalone).
26
+
If you only installed the core of Clinica, this pipeline needs the installation of [FreeSurfer 6.0](../Software/Third-party.md#freesurfer), [FSL 6.0](../Software/Third-party.md#fsl), and [PETPVC 1.2.4](../Software/Third-party.md#petpvc) (which depends on [ITK 4](../Software/Third-party.md#itk)) on your computer. In addition, you also need to install [spm standalone](../Software/Third-party.md#spm-standalone).
Copy file name to clipboardExpand all lines: docs/Pipelines/PET_Surface_Longitudinal.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,5 @@
1
1
<!-- markdownlint-disable MD046 -->
2
2
3
-
--8<-- "snippets/spm_banner.md"
4
-
5
3
# `pet-surface-longitudinal` - Surface-based longitudinal processing of PET images
6
4
7
5
This pipeline performs several processing steps for the longitudinal analysis of PET data on the cortical surface
@@ -30,9 +28,7 @@ You need to have performed the [`t1-freesurfer-longitudinal`](../T1_FreeSurfer_L
30
28
31
29
## Dependencies
32
30
33
-
If you only installed the core of Clinica, this pipeline needs the installation of [FreeSurfer 6.0](../Software/Third-party.md#freesurfer), [FSL 6.0](../Software/Third-party.md#fsl), and [PETPVC 1.2.4](../Software/Third-party.md#petpvc) (which depends on [ITK 4](../Software/Third-party.md#itk)) on your computer.
34
-
35
-
In addition, you also need to either install [SPM12](../Software/Third-party.md#spm12) and [Matlab](../Software/Third-party.md#matlab), or [spm standalone](../Software/Third-party.md#spm12-standalone).
31
+
If you only installed the core of Clinica, this pipeline needs the installation of [FreeSurfer 6.0](../Software/Third-party.md#freesurfer), [FSL 6.0](../Software/Third-party.md#fsl), and [PETPVC 1.2.4](../Software/Third-party.md#petpvc) (which depends on [ITK 4](../Software/Third-party.md#itk)) on your computer. In addition, you also need to install [spm standalone](../Software/Third-party.md#spm-standalone).
Copy file name to clipboardExpand all lines: docs/Pipelines/PET_Volume.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,5 @@
1
1
<!-- markdownlint-disable MD046 -->
2
2
3
-
--8<-- "snippets/spm_banner.md"
4
-
5
3
# `pet-volume` – Volume-based processing of PET images
6
4
7
5
This pipeline performs several processing steps on [PET](../glossary.md#pet) data in voxel space, which include:
@@ -23,7 +21,7 @@ You need to have performed the [`t1-volume`](./T1_Volume.md) pipeline on your T1
23
21
24
22
## Dependencies
25
23
26
-
If you only installed the core of Clinica, this pipeline needs the installation of [SPM standalone](../Software/Third-party.md#spm12-standalone).
24
+
If you only installed the core of Clinica, this pipeline needs the installation of [SPM standalone](../Software/Third-party.md#spm-standalone).
27
25
28
26
In addition, if you want to apply partial volume correction (PVC) on your PET data, you will need to install [PETPVC 1.2.4](../Software/Third-party.md#petpvc), which depends on [ITK 4](../Software/Third-party.md#itk).
Copy file name to clipboardExpand all lines: docs/Pipelines/Stats_Volume.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
1
<!-- markdownlint-disable MD046 -->
2
2
3
-
--8<-- "snippets/spm_banner.md"
4
3
5
4
# `statistics-volume` - Volume-based mass-univariate analysis with SPM
6
5
@@ -12,7 +11,7 @@ Currently, this pipeline mainly handles gray matter maps obtained from T1-weight
12
11
13
12
## Dependencies
14
13
15
-
If you only installed the core of Clinica, this pipeline needs the installation of [Matlab](../Software/Third-party.md#matlab) and [SPM12](../Software/Third-party.md#spm12), or of [SPM standalone](../Software/Third-party.md#spm12-standalone), on your computer.
14
+
If you only installed the core of Clinica, this pipeline needs the installation of [SPM standalone](../Software/Third-party.md#spm-standalone), on your computer.
Copy file name to clipboardExpand all lines: docs/Pipelines/T1_Volume.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,5 @@
1
1
<!-- markdownlint-disable MD007 MD033 -->
2
2
3
-
--8<-- "snippets/spm_banner.md"
4
-
5
3
# `t1-volume` – Volume-based processing of T1-weighted MR images with SPM
6
4
7
5
This pipeline performs four main processing steps on T1-weighted MR images using the [SPM](http://www.fil.ion.ucl.ac.uk/spm/) software:
@@ -26,7 +24,7 @@ The average gray matter density (also in MNI space) is then computed in each of
26
24
27
25
## Dependencies
28
26
29
-
If you only installed the core of Clinica, this pipeline needs the installation of [SPM standalone](../Software/Third-party.md#spm12-standalone) on your computer.
27
+
If you only installed the core of Clinica, this pipeline needs the installation of [SPM standalone](../Software/Third-party.md#spm-standalone) on your computer.
-*✓∘ : for anatomical linear pipelines there is also the possibility to use ANTsPy instead of ANTs since Clinica `v0.9.0`*
@@ -202,23 +199,6 @@ official instructions for [downloading](https://www.mrtrix.org/download/).
202
199
203
200
___
204
201
205
-
### Matlab
206
-
207
-
You can find more details about `Matlab` on their [website](https://fr.mathworks.com/products/matlab/).
208
-
209
-
!!! warning
210
-
Note that using `Matlab` requires having a **valid license** which might be available through your university or institution.
211
-
212
-
Make sure to have the following environment variables defined:
213
-
214
-
```{ .bash .copy }
215
-
export MATLAB_HOME="/path/to/your/matlab/bin/"
216
-
export PATH=${MATLAB_HOME}:${PATH}
217
-
export MATLABCMD="${MATLAB_HOME}/matlab"
218
-
```
219
-
220
-
___
221
-
222
202
### PETPVC
223
203
224
204
You can find more details about `PETPVC` on their [website](https://github.com/UCL/PETPVC),
@@ -235,59 +215,16 @@ You have basically three options:
235
215
236
216
___
237
217
238
-
### SPM12
239
-
240
-
!!! warning "SPM12 and Matlab"
241
-
Note that `SPM12` works with [Matlab](#matlab) such that Clinica pipelines which require `SPM12`, will also need a `Matlab` installation.
242
-
If you cannot install `Matlab`, you can install [SPM standalone](#spm12-standalone).
243
-
244
-
You can find more details about `SPM12` on their [website](http://www.fil.ion.ucl.ac.uk/spm/). To install it :
245
-
246
-
=== "Linux"
247
-
Download the latest version [here](http://www.fil.ion.ucl.ac.uk/spm/download/restricted/eldorado/spm12.zip) and follow the instructions on the [SPM wiki](https://en.wikibooks.org/wiki/SPM/Installation_on_64bit_Linux).
248
-
249
-
=== "MacOS"
250
-
Download the latest version [here](http://www.fil.ion.ucl.ac.uk/spm/download/restricted/eldorado/spm12.zip) and follow the instructions on the [SPM wiki](https://en.wikibooks.org/wiki/SPM/Installation_on_64bit_Mac_OS_(Intel)).
251
-
252
-
??? warning "MacOS Big Sur"
253
-
For systems running on MacOS Big Sur, a [development version of SPM12](https://www.fil.ion.ucl.ac.uk/spm/download/restricted/utopia/dev/) as well as a more recent release of the MCR (minimum 2019a) are required.
218
+
### SPM Standalone
254
219
255
-
Then :
220
+
!!! danger "Set-up MATLAB + SPM"
221
+
Clinica now only supports SPM standalone, which functions without MATLAB.
256
222
257
-
1. Make sure to have the following environment variable defined:
258
-
```{ .bash .copy }
259
-
export SPM_HOME="/path/to/your/spm12"
260
-
```
223
+
To use SPM standalone, you will need to install two things:
261
224
262
-
2. You must also add `SPM` to the `MATLAB` path variable if you installed it as a toolbox.
263
-
- First, verify a `startup.m` file exists in your *initial working folder*, by default `~/Documents/MATLAB` (see [here](https://fr.mathworks.com/help/matlab/ref/startup.html) for more details).
264
-
If the file does not exist, you can create it.
265
-
- Then, type inside:
266
-
```matlab
267
-
addpath('/path/to/your/spm12');
268
-
```
269
-
**OR**, assuming the `$SPM_HOME` environment variable is setin your `~/.bashrc` file :
`zsh` shell users will have to replace `~/.bashrc` by `~/.zshrc`.
278
-
279
-
___
280
-
281
-
### SPM12 standalone
282
-
283
-
If you want to install `SPM12` without installing [Matlab](#matlab), you will need to install two things:
284
-
285
-
- The Matlab runtime (often abbreviated into MCR), for which no license is required.
225
+
- The Matlab Runtime (often abbreviated into MCR), for which no license is required.
286
226
- The SPM standalone itself.
287
227
288
-
!!! danger "Which version to use ?"
289
-
SPM has recently released a version `SPM25` on Github for which the installation is described [here](https://www.fil.ion.ucl.ac.uk/spm/docs/installation/standalone/).
290
-
Clinica does support this version for both `t1-volume` and `pet-volume`
291
228
292
229
!!! tip "Verify your environment variables"
293
230
If you followed the installation instructions, you should have set the environment variable `$LD_LIBRARY_PATH` on Linux, or `$DYLD_LIBRARY_PATH` on MacOS.
@@ -297,11 +234,9 @@ In addition, you need to define the following environment variables:
Copy file name to clipboardExpand all lines: docs/snippets/known_issues.md
-11Lines changed: 0 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,3 @@
1
-
--8<-- [start:matlab]
2
-
## :warning: Known issue with Matlab and SPM12
3
-
4
-
[Matlab](https://www.mathworks.com/products/matlab.html) and [SPM12](https://www.fil.ion.ucl.ac.uk/spm/software/spm12/) (whose implementation is based on Matlab) can sometimes randomly crash, causing a rather unreadable error in the console.
5
-
Those events are unpredictable. In case it occurs to you, please do the following:
6
-
7
-
- Check that you have a valid Matlab license.
8
-
- Before relaunching the command line, be sure to remove the content of the working directory (if you specified one).
9
-
--8<-- [end:matlab]
10
-
11
-
12
1
--8<-- [start:center-nifti]
13
2
!!! warning "Centering BIDS nifti"
14
3
If the images from the `BIDS_DIRECTORY` are not centered, Clinica will give a **warning** because this can be an issue **if** later processing steps involve SPM (for instance if you are planning to run [pet-surface](./PET_Surface.md) afterwards).
0 commit comments