mne.bem.fit_sphere_to_headshape#
- mne.bem.fit_sphere_to_headshape(info, dig_kinds='auto', units='m', verbose=None)[source]#
Fit a sphere to the headshape points to determine head center.
- Parameters
- info
mne.Info
The
mne.Info
object with information about the sensors and methods of measurement.- dig_kinds
list
ofstr
|str
Kind of digitization points to use in the fitting. These can be any combination of (‘cardinal’, ‘hpi’, ‘eeg’, ‘extra’). Can also be ‘auto’ (default), which will use only the ‘extra’ points if enough (more than 4) are available, and if not, uses ‘extra’ and ‘eeg’ points.
- units
str
Can be “m” (default) or “mm”.
New in version 0.12.
- verbosebool |
str
|int
|None
Control verbosity of the logging output. If
None
, use the default verbosity level. See the logging documentation andmne.verbose()
for details. Should only be passed as a keyword argument.
- info
- Returns
Notes
This function excludes any points that are low and frontal (
z < 0 and y > 0
) to improve the fit.