Skip to main content

mne_make_scalp_surfaces

Overview

mne_make_scalp_surfaces generates decimated scalp surfaces from a BEM outer skin surface. It reads a BEM file, locates the outer skin surface, and creates decimated versions at the specified vertex counts. This is useful for creating lighter-weight surfaces for visualization and coregistration.

This is a C++ port of the original MNE-C tool by Matti Hämäläinen.

Usage

mne_make_scalp_surfaces [options]

Options

OptionDescription
--bem <file>BEM file with outer skin surface
--out <dir>Output directory for decimated surfaces
--grades <counts>Comma-separated target vertex counts (default: 2562,10242,40962)
--helpPrint help
--versionPrint version

Example

# Generate scalp surfaces at default resolutions
mne_make_scalp_surfaces --bem sam-head.fif --out scalp/

# Generate at custom resolutions
mne_make_scalp_surfaces --bem sam-head.fif --out scalp/ --grades 642,2562,10242

See Also