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
Copy file name to clipboardExpand all lines: Fit_qMT_to_literatureT1.jl
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -286,7 +286,7 @@ extrema(T1_literature)
286
286
variation(T1_literature)
287
287
288
288
# ### Median absolute deviation
289
-
# In the paper, the median absolute deviation wrt. the mean value is used, as it is more robust to outliers compared to the mean absolute deviation or the standard deviation. Note, however, that the median absolute deviation of the mono-exponential fit is dominated by an outlier, artificially inflating the corresponding reduction.
289
+
# In the paper, the median absolute deviation from the mean value is used, as it is more robust to outliers compared to the mean absolute deviation or the standard deviation. Note, however, that the median absolute deviation of the mono-exponential fit is dominated by an outlier, artificially inflating the corresponding reduction.
290
290
291
291
# A mono-exponential model explains the following fraction of the T₁ variability in the literature:
This code reproduces all results in the paper [Magnetization transfer explains most of the T1 variability in the MRI literature][arXiv-url1]. Please go to the [Documentation][docs-url] for a detailed description of the code.
5
+
This code reproduces all results in the paper [Magnetization transfer explains most of the T1 variability in the MRI literature][arXiv-url1]. Please refer to the [Documentation][docs-url] for a detailed description of the code.
6
6
7
7
The code is written in the open-source language Julia and is structured as follows:
8
-
- Fit_qMT_to_literatureT1.jl is the main script and implements the pulse sequence simulations and the mono-exponential fitting routines. It also calls the fit of the qMT models to the variable literature T1 estimates.
9
-
- helper_functions.jl contains implementations of RF pulses and some helper functions, which are less relevant for understanding the simulations
10
-
- Project.toml and Manifest.toml contain information about the packages used by the simulation, facilitating their automated installation.
8
+
-`T1_mapping_methods.jl` implements the pulse sequence simulations and the mono-exponential fitting routines of each T₁-mapping method.
9
+
-`Fit_qMT_to_literatureT1.jl` is the main script that performs the fit of the qMT models to the variable literature T₁ estimates.
10
+
-`helper_functions.jl` contains implementations of RF pulses, their propagators, and some helper functions, which are less relevant for understanding the simulations.
11
+
-`Project.toml` and `Manifest.toml` contain information about the packages used by the simulation, facilitating their automated installation.
11
12
12
-
Julia can be downloaded from the website https://julialang.org or, on Unix systems, installed by simply calling
13
+
Julia can be downloaded from https://julialang.org or, on Unix systems, by simply calling
13
14
14
15
`curl -fsSL https://install.julialang.org | sh`
15
16
16
17
from the command line.
17
18
18
-
In order to run the simulations, place all four files in the same folder and call
19
+
In order to run the simulations, place all five files in the same folder, `cd` into this folder, and call
replacing `some_path` with the path to the files. For a more interactive interface, the code can be called from Visual Studio Code with the Julia extension.
# We implemented different methods for the function `RF_pulse_propagator` that infered with Julia's multiple dispatch logic based on the type of the input parameters. The functions in this section take the variable `model` of type `gBloch` and implement the generalized Bloch model. The first method further takes the variable `ω1` of the abstract type `Number`, i.e., it implements pulse propagators for a constant ω₁.
62
+
# We implemented different methods for the function `RF_pulse_propagator` that inferred with Julia's multiple dispatch logic based on the type of the input parameters. The functions in this section take the variable `model` of type `gBloch` and implement the generalized Bloch model. The first method further takes the variable `ω1` of the abstract type `Number`, i.e., it implements pulse propagators for a constant ω₁.
0 commit comments