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 : instance of Info
dig_kinds : list of str | str
units : str
verbose : bool, str, int, or None
|
---|---|
Returns: | radius : float
origin_head: ndarray, shape (3,)
origin_device: ndarray, shape (3,)
|
Notes
This function excludes any points that are low and frontal
(z < 0 and y > 0
) to improve the fit.