This documentation is for development version 0.18.dev0.

mne.bem.get_fitting_dig

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

Get digitization points suitable for sphere fitting.

Parameters:
info : instance of Info

The measurement info.

dig_kinds : list 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 10) are available, and if not, uses ‘extra’ and ‘eeg’ points.

verbose : bool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more).

Returns:
dig : array, 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.