Skip to content

Commit 6589b86

Browse files
DOC: Add detail to make_watershed_bem volume parameter (#13658)
1 parent d6e9784 commit 6589b86

4 files changed

Lines changed: 12 additions & 3 deletions

File tree

doc/_includes/bem_model.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Using the watershed algorithm
1717

1818
The watershed algorithm [Segonne *et al.*,
1919
2004] is part of the FreeSurfer software.
20-
The name of the program is ``mri_watershed``.
20+
The name of the program is mri_watershed_.
2121
Its use in the MNE environment is facilitated by the script
2222
:ref:`mne watershed_bem`.
2323

doc/links.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@
7272
.. _python: http://www.python.org
7373
.. _Brain Imaging Data Structure: https://bids.neuroimaging.io/
7474
.. _SPEC0: https://scientific-python.org/specs/spec-0000
75+
.. _mri_watershed: https://surfer.nmr.mgh.harvard.edu/fswiki/mri_watershed
76+
.. _recon-all: https://surfer.nmr.mgh.harvard.edu/fswiki/recon-all
7577

7678
.. python packages
7779

mne/bem.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,14 @@ def make_watershed_bem(
11771177
%(subjects_dir)s
11781178
%(overwrite)s
11791179
volume : str
1180-
Defaults to T1.
1180+
The name of the MRI volume (without file extension) that
1181+
will be used as input to mri_watershed_. The volume is expected to
1182+
be full-head (non-skull-stripped), as the watershed algorithm relies on tissue
1183+
intensity gradients to estimate the inner skull, outer skull, and
1184+
outer skin surfaces. Defaults to ``"T1"``, corresponding to
1185+
``$SUBJECTS_DIR/$SUBJECT/mri/T1.mgz`` in a typical FreeSurfer subject directory.
1186+
This volume is typically produced by the recon-all_ pipeline after the intensity
1187+
normalization step.
11811188
atlas : bool
11821189
Specify the ``--atlas option`` for ``mri_watershed``.
11831190
gcaatlas : bool

tutorials/forward/50_background_freesurfer_mne.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
# Let's start out by looking at the ``sample`` subject MRI. Following standard
3939
# FreeSurfer convention, we look at :file:`T1.mgz`, which gets created from the
4040
# original MRI :file:`sample/mri/orig/001.mgz` when you run the FreeSurfer
41-
# command `recon-all <https://surfer.nmr.mgh.harvard.edu/fswiki/recon-all>`_.
41+
# command recon-all_.
4242
# Here we use :mod:`nibabel` to load the T1 image, and the resulting object's
4343
# :meth:`~nibabel.spatialimages.SpatialImage.orthoview` method to view it.
4444

0 commit comments

Comments
 (0)