mne.bem.get_fitting_dig#

mne.bem.get_fitting_dig(info, dig_kinds='auto', exclude_frontal=True, verbose=None)[source]#

Get digitization points suitable for sphere fitting.

Parameters
infomne.Info

The mne.Info object with information about the sensors and methods of measurement.

dig_kindslist of str | 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.

exclude_frontalbool

If True, exclude points that have both negative Z values (below the nasion) and positivy Y values (in front of the LPA/RPA). Default is True.

New in version 0.19.

verbosebool | str | int | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.

Returns
digarray, shape (n_pts, 3)

The digitization points (in head coordinates) to use for fitting.

Notes

This will exclude digitization locations that have z < 0 and y > 0, i.e. points on the nose and below the nose on the face.

New in version 0.14.