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
- subject
str
Subject name.
- overwritebool
Write over existing .surf files in bem folder.
- showbool
Show surfaces to visually inspect all three BEM surfaces (recommended).
- subjects_dir
str
|None
The path to the FreeSurfer subjects reconstructions. It corresponds to FreeSurfer environment variable
SUBJECTS_DIR
.- flash_path
str
|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
, orNone
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.
- subject
See also
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.