mne.bem.make_flash_bem

mne.bem.make_flash_bem(subject, overwrite=False, show=True, subjects_dir=None, flash_path=None, copy=False, verbose=None)[source]

Create 3-Layer BEM model from prepared flash MRI images.

Parameters
subjectstr

Subject name.

overwritebool

Write over existing .surf files in bem folder.

showbool

Show surfaces to visually inspect all three BEM surfaces (recommended).

subjects_dirstr | None

The path to the freesurfer subjects reconstructions. It corresponds to Freesurfer environment variable SUBJECTS_DIR.

flash_pathstr | None

Path to the flash images. If None (default), mri/flash/parameter_maps within the subject reconstruction is used.

New in version 0.13.0.

copybool

If True (default False), use copies instead of symlinks for surfaces (if they do not already exist).

New in version 0.18.

verbosebool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more). If used, it should be passed as a keyword-argument only.

Notes

This program assumes that FreeSurfer is installed and sourced properly.

This function extracts the BEM surfaces (outer skull, inner skull, and outer skin) from multiecho FLASH MRI data with spin angles of 5 and 30 degrees, in mgz format.

Examples using mne.bem.make_flash_bem