- mne.get_head_surf(subject, source=('bem', 'head'), subjects_dir=None, on_defects='raise', verbose=None)#
Load the subject head surface.
Type to load. Common choices would be
'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_dirpath-like |
Path to the
SUBJECTS_DIR. If None, the path is obtained by using the environment variable
- on_defects‘raise’ | ‘warn’ | ‘ignore’
What to do if the surface is found to have topological defects. Can be
'raise'(default) to raise an error,
'warn'to emit a warning, or
'ignore'to ignore when one or more defects are found. Note that a lot of computations in MNE-Python assume the surfaces to be topologically correct, topological defects may still make other computations (e.g.,
mne.make_bem_solution) fail irrespective of this parameter.
New in v1.0.
- verbosebool |
The head surface.