mne.get_head_surf¶
- mne.get_head_surf(subject, source=('bem', 'head'), subjects_dir=None, verbose=None)[source]¶
Load the subject head surface.
- Parameters
- subject
str
Subject name.
- source
str
|list
ofstr
Type to load. Common choices would be
'bem'
or'head'
. We first try loading'$SUBJECTS_DIR/$SUBJECT/bem/$SUBJECT-$SOURCE.fif'
, and then look for'$SUBJECT*$SOURCE.fif'
in the same directory by going through all files matching the pattern. The head surface will be read from the first file containing a head surface. Can also be a list to try multiple strings.- subjects_dir
str
, orNone
Path to the SUBJECTS_DIR. If None, the path is obtained by using the 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
- surf
dict
The head surface.
- surf