mne.make_bem_model¶
-
mne.make_bem_model(subject, ico=4, conductivity=(0.3, 0.006, 0.3), subjects_dir=None, verbose=None)[source]¶ Create a BEM model for a subject.
Note
To get a single layer bem corresponding to the –homog flag in the command line tool set the
conductivityparameter to a list/tuple with a single value (e.g. [0.3]).- Parameters
- subject
str The subject.
- ico
int|None The surface ico downsampling to use, e.g. 5=20484, 4=5120, 3=1280. If None, no subsampling is applied.
- conductivity
arrayofint, shape (3,) or (1,) The conductivities to use for each shell. Should be a single element for a one-layer model, or three elements for a three-layer model. Defaults to
[0.3, 0.006, 0.3]. The MNE-C default for a single-layer model would be[0.3].- subjects_dir
str|None The path to the FreeSurfer subjects reconstructions. It corresponds to FreeSurfer environment variable
SUBJECTS_DIR.- 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
- Returns
- surfaces
listofdict The BEM surfaces. Use
make_bem_solutionto turn these into aConductorModelsuitable for forward calculation.
- surfaces
Notes
New in version 0.10.0.