Skip to content

Commit c46d10f

Browse files
authored
Merge pull request #45 from handwerkerd/main
OHBM Brainhack 2025 updates to the book
2 parents 65b6dab + f2f5b36 commit c46d10f

11 files changed

+646
-40
lines changed

_toc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ parts:
88
- caption: Course Overview
99
chapters:
1010
- file: content/Course_Overview
11+
- file: content/Contributors
1112
- caption: Getting Started
1213
chapters:
1314
- file: content/00_Download_Data

content/Acquiring_Multi_Echo_Data.md

Lines changed: 69 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,67 @@ kernelspec:
1313

1414
# Acquiring Multi-Echo Data
1515

16+
## How to approach setting multi-echo acquisition parameters
17+
18+
There is no definitively optimal parameter set for multi-echo fMRI acquisition or any fMRI acqusition.
19+
The guidelines for optimizing parameters are similar to single-echo fMRI.
20+
An overall recommendation is to choose single-echo sequence parameters that meet the priorities of a study with regards to spatial resolution,
21+
spatial coverage, sample rate, signal-to-noise ratio, signal drop-out, distortion, and artifacts.
22+
Then make the least significant parameter changes needed to acquire multi-echo fMRI data.
23+
"Least significant" is study-specific.
24+
In one study, one might have a 1.5 sec TR with single echo
25+
and multi-echo echo is possible with a 1.75 sec TR without impacting study goals.
26+
In another study, slices might cover cortex and cerebellum with the largest plausible participant brains, but 10% less coverage would include full brain coverage for most participants and all key study-specific regions-of-interest.
27+
28+
A minimum of 3 echoes is required for methods like [tedana](https://tedana.readthedocs.io/en/stable/index.html) that fit echoes to a decay curve.
29+
There is typically at least one echo that is earlier and one that is later
30+
than the TE one would use for single-echo $T_2^*$ weighted fMRI.
31+
It is also important to make sure at least 3 echoes retain a useful amount of signal.
32+
On a 3T MRI, a few regions, particularly areas like orbitofrontal cortex, won't have sufficient signal for $TE\geq45ms$,
33+
and there will be more noticable signal loss with $TE\geq50ms$.
34+
There are multi-echo fMRI studies that successfully use longer 3rd echo times,
35+
but being aware of this signal loss is important,
36+
and one might benefit from keeping echo times shorter if one is prioritizing
37+
acquisitions in typically high signal dropout regions.
38+
39+
More than 3 echoes may be useful, because that would allow for more accurate
40+
estimates of BOLD and non-BOLD weighted fluctuations, but more echoes have an
41+
additional time cost, which would result in either less spatiotemporal coverage
42+
or more acceleration.
43+
Whether the benefits of more echoes balance out the additional costs is an open research question.
44+
45+
Additional recommendations and guidelines for acquiring multi-echo fMRI data
46+
are discussed in the [appendix of Dipasquale et al. (2017)](https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0173289)
47+
48+
It is also useful to look at existing publications.
49+
50+
- [Here is an always outdated list of multi-echo fMRI publications](https://docs.google.com/spreadsheets/d/1WERojJyxFoqcg_tndUm5Kj0H1UfUc9Ban0jFGGfPaBk/edit?gid=0#gid=0)
51+
- [Here is an often outdated list of multi-echo fMRI open datasets](https://me-ica.github.io/open-multi-echo-data/)
52+
that may be useful to visualize and measure data quality in datasets with similar scientific goals.
53+
54+
[Here is a spreadsheet that shows possible acquisition parameters on a specfic 3T scanner](https://docs.google.com/spreadsheets/d/14iM6ENHrq9TGv6GhEe2dF9IzlM26y3aR9FmZGYXzmHA/edit?usp=sharing).
55+
This is useful to get a sense of what is possible when evaluating parameter options.
56+
That is, one can see how much a TR will increase for 3, 4, and 5 echoes for a given
57+
set of parameters and how different parameter changes, such as more acceleration,
58+
will alter the echo times and the TR.
59+
Note that this spreadsheet maps a wide range of parameter options
60+
and that go beyond advisable options.
61+
Just because it is possible to collect data with in-slice acceleration of 3
62+
and multi-slice acceleration of 4
63+
(a $\sqrt{12}$ drop in signal-to-noise ratio & more artifacts)
64+
doesn't mean it's advisable.
65+
66+
Collecting and examining pilot scans is always recommended.
67+
Look at some data collected for your specific study.
68+
Look at signal quality, artifacts, dropout,
69+
and if potential effects of interest are sufficiently statistically robust.
70+
71+
```{note}
72+
There are other methods and use multi-echo acqusitions.
73+
For example a **dual echo** method which uses a very early (~5ms)
74+
first echo in order to clean data. For more information on this method, see [Bright and Murphy (2013)](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3518782/)
75+
```
76+
1677
## Available multi-echo fMRI sequences
1778

1879
We have attempted to compile some basic multi-echo fMRI protocols in an [OSF project](https://osf.io/ebkrp/).
@@ -42,18 +103,13 @@ and make sure to run pilot scans to test your choices.
42103

43104
### GE
44105

45-
**For GE users**, there are currently two sharable pulse sequences:
46-
47-
- Multi-echo EPI (MEPI) – Software releases: DV24, MP24 and DV25 (with offline recon)
48-
- Hyperband Multi-echo EPI (HyperMEPI) - Software releases: DV26, MP26, DV27, RX27
49-
(here hyperband can be deactivated to do simple Multi-echo EPI – online recon)
50-
51-
Please reach out to the GE Research Operation team or each pulse sequence’s
52-
author to begin the process of obtaining this software.
53-
More information can be found on the [GE Collaboration Portal](https://collaborate.mr.gehealthcare.com).
54-
55-
Once logged in, go to Groups > GE Works-in-Progress you can find the description
56-
of the current ATSM (i.e. prototypes).
106+
GE users can request access to the HyperMEPI ATSM sequence.
107+
Request can be made through [GE's WeConnect Portal](https://collaborate.mr.gehealthcare.com).
108+
This sequence has both hyperband,
109+
(GE's term for simultaneous-multislice or multiband) and multi-echo.
110+
Depending on scanner and software version,
111+
GE scanners have a limit on the total number of slices that can be collected during a single acquisition.
112+
This has the potential to limit the maximum duration of a multi-echo fMRI run.
57113

58114
### Philips
59115

@@ -74,7 +130,7 @@ In addition to ME-fMRI, other MR sequences benefit from acquiring multiple
74130
echoes, including T1-weighted imaging (MEMPRAGE) and susceptibility weighted imaging.
75131
While most of these kinds of sequences fall outside the purview of this documentation,
76132
quantitative T2* mapping is relevant since a baseline T2* map is used in several
77-
processing steps including :ref:`optimal combination`.
133+
processing steps including optimal combination.
78134
While the T2* map estimated directly from fMRI time series is noisy, no current
79135
study quantifies the benefit to optimal combination or tedana denoising if a
80136
higher quality T2* map is used.
@@ -106,12 +162,6 @@ A minimum of 3 echoes is required for running the current implementation fo TE-d
106162
It may be useful to have at least one echo that is earlier and one echo that is later than the
107163
TE one would use for single-echo T2* weighted fMRI.
108164

109-
```{note}
110-
This is in contrast to the **dual echo** denoising method which uses a very early (~5ms)
111-
first echo in order to clean data.
112-
For more information on this method, see {cite:t}`bright2013removing`.
113-
```
114-
115165
More than 3 echoes may be useful, because that would allow for more accurate
116166
estimates of BOLD and non-BOLD weighted fluctuations, but more echoes have an
117167
additional time cost, which would result in either less spatiotemporal coverage

content/Contributors.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
jupytext:
3+
text_representation:
4+
extension: .md
5+
format_name: myst
6+
format_version: 0.13
7+
jupytext_version: 1.10.3
8+
kernelspec:
9+
display_name: Python 3
10+
language: python
11+
name: python3
12+
---
13+
14+
# Contributors
15+
16+
Taylor Salo ([@tsalo](https://github.com/tsalo/)) created this book by setting up the the initial repository,
17+
designing the overall framework that builds into an html Jupyter book,
18+
and wrote a substantial portion of the text.
19+
20+
Daniel Handwerker ([@handwerkerd](https://github.com/handwerkerd)) led a project to expand and update this book at the [OHBM 2025 BrainHack](https://ohbm.github.io/hackathon2025).
21+
Mélanie Garcia ([@garciaml](https://github.com/garciaml)) made many substantial contributions.
22+
23+
Additional contributors at the hackathon include
24+
25+
- Merel van der Thiel [@merelvdthiel](https://github.com/merelvdthiel)
26+
- Korbinian Eckstein [@korbinian90](https://github.com/korbinian90)

content/Course_Overview.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,30 @@ kernelspec:
1212
---
1313

1414
# Course Overview
15+
16+
This book is a work-in-progress.
17+
18+
The overall goal is to provide an understanding of how to think through
19+
collecting, analyzing, and interpreting multi-echo fMRI data.
20+
We tried to make this book accessible to someone without much
21+
math and physics expertise,
22+
but we also include equations to support people who want to understand
23+
multi-echo fMRI at a deeper level.
24+
Whenever we include equations, we try to explain the take-home message
25+
so that readers can follow the overall message without needing to study
26+
and understand every equation.
27+
28+
This book covers several topics:
29+
30+
- How to install the data and programs needed for running interactive examples
31+
- Information for understanding and thinking about acquiring multi-echo fMRI
32+
- How multi-echo information can be used to support noise removal in data
33+
- Examples and pipelines for processing and visualizing multi-echo data using multiple tools, such as AFNI, fMRIPrep and tedana.
34+
35+
A good place to ask additional questions about multi-echo fMRI and processing is at
36+
[neurostars.org/](https://neurostars.org/) using the `multi-echo` or `tedana` tags.
37+
38+
If you have ideas for future multi-echo fMRI methods or issues with the tedana code,
39+
you can post issues at [github.com/ME-ICA/tedana/issues](https://github.com/ME-ICA/tedana/issues) or
40+
start a discussion at [github.com/ME-ICA/tedana/discussions](https://github.com/ME-ICA/tedana/discussions).
41+
You can also join [mattermost.brainhack.org/brainhack/channels/tedana](https://mattermost.brainhack.org/brainhack/channels/tedana) for additional discussions with tedana developers.

content/Install_Software.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,24 @@ kernelspec:
1212
---
1313

1414
# Install Software
15+
16+
## tedana
17+
18+
Instructions for installing tedana are [in the tedana documentation](https://tedana.readthedocs.io/en/stable/installation.html)
19+
20+
[Here is a list of tedana's python dependencies](https://github.com/ME-ICA/tedana/blob/main/pyproject.toml)
21+
22+
If you are interested in using a pre-release version of tedana
23+
or are interested in contributing to the tedana code,
24+
[instructions for cloning the code, and installing as a developer are here.](https://github.com/ME-ICA/tedana/blob/main/CONTRIBUTING.md#3-run-the-developer-setup)
25+
26+
## AFNI
27+
28+
AFNI can preprocess multi-echo fMRI data run it through tedana for denoising.
29+
[Instructions for installing AFNI are here](https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/background_install/main_toc.html)
30+
31+
32+
## fMRIPrep
33+
34+
fMRIPRep can preprocess multi-echo fMRI data and run the optimal combination of echoes through tedana.
35+
[Instructions for installing fMRIPrep are here](https://fmriprep.org/en/stable/installation.html)

content/MR_Physics.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,38 +22,38 @@ For this reason, hydrogen is the most widely used in MRI.
2222

2323
MRI bore contains a powerful magnet which generates an uniform magnetic field B0.
2424
Patiens are introduced in this magnetic field and hydrogen atoms align to the magnetic field.
25-
According to Larmour's law, a magnetic dipole inside a magnetic field
25+
According to Larmor's law, a magnetic dipole inside a magnetic field
2626
precesses (spins) around the magnetic field with a frequency proportional to the magnetic field strength.
2727
Hence, hydrogen atoms precess around the magnetic field generated by the MR with a frequency (Larmor frequency) that follows the equation:
2828

2929
w = γ B0
3030

3131
![](https://www.frontiersin.org/files/Articles/427144/frym-07-00023-HTML-r2/image_m/figure-2.jpg)
32+
3233
This precession can be parallel or antiparallel to B0.
3334
In the body the number of atoms that precess parallel is different to
3435
the ones that precess antiparallel producing an small magnetic field which is proportional to B0 and also depends on the density
3536
of hydrogen nuclei.
3637
So, the static magnetic field (B0) induces a slight magnetization of tissues.
3738

38-
Then, a radiofrequency pulse is emitted perpendicular to B0 with the same frequency that the spin precession frequency.
39-
Hydrogen atoms abrorb energy and spin out of equilibrium.
39+
Then, a radiofrequency (RF) pulse is emitted perpendicular to B0 with the same frequency that the spin precession frequency.
40+
Hydrogen atoms absorb energy and spin out of equilibrium.
4041
Longitudinal magnetization (Mz) of protons in a parallel direction to B0 decreases,
4142
and a transverse magnetization (Mx, My) appears.
4243

4344
Then, when the RF disappears,
44-
the magnetic momentum gradually goes back to te minimum energy position (magnetic relaxation) while releasing energy.
45+
the magnetic momentum gradually goes back to the minimum energy position (magnetic relaxation) while releasing energy.
4546
These emitted signals are measured into the k-space,
4647
which is an array of numbers representing spatial frequencies in the MR image.
4748
(Each k-space point contains spatial frequency and phase information about every pixel in the final image).
48-
Fourier transforme is performed to the k-space to obtain the final image.
49+
Fourier transform is performed to the k-space to obtain the final image.
4950
By varying the sequence of RF pulses applied & collected, different types of images are created.
5051

5152

5253
### MRI Sequences
5354

5455
It's important to understand the meaning of **repetition time (TR)** and **echo time (TE)** in order to comprehend the main MRI sequences.
55-
Time to Echo (TE) is the time between the delivery of the RF pulse and the receipt of the echo signal and
56-
the interval between subsequent pulse sequences delivered to the same slice is known as the repetition time (TR).
56+
Time to Echo (TE) is the time between the delivery of the RF pulse and the receipt of the echo signal. The interval between subsequent pulse sequences delivered to the same slice is known as the repetition time (TR).
5757

5858
The most common sequences are T1-weighted and T2-weighted images.
5959
In neuroimaging, **T1-weighted** images are commonly used in anatomical related studies,

content/Multi_Echo_Datasets.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,16 @@ kernelspec:
1414
(content:open-datasets)=
1515
# Open Multi-Echo Datasets
1616

17-
A number of multi-echo datasets have been made public so far.
18-
This list is not necessarily up to date, so please check out OpenNeuro to potentially find more.
17+
A running list of openly accessible multi-echo fMRI datasets is at:
18+
[me-ica.github.io/open-multi-echo-data/](https://me-ica.github.io/open-multi-echo-data/).
19+
If you know of other datasets that should be added,
20+
submit an issue at [github.com/ME-ICA/open-multi-echo-data/issues](https://github.com/ME-ICA/open-multi-echo-data/issues)
21+
or each out to a [tedana developer](https://github.com/ME-ICA/tedana/graphs/contributors)
22+
23+
```{important}
24+
The datasets below were added before the above spreadsheet was created. They do have some additional context.
25+
Need to decide how much of that context is worth preserving vs just deleting.
26+
```
1927

2028
## Multi-echo fMRI replication sample of autobiographical memory, prospection and theory of mind reasoning tasks
2129

0 commit comments

Comments
 (0)