mne.sensitivity_map

mne.sensitivity_map(fwd, projs=None, ch_type='grad', mode='fixed', exclude=[], verbose=None)[source]

Compute sensitivity map.

Such maps are used to know how much sources are visible by a type of sensor, and how much projections shadow some sources.

Parameters
fwdForward

The forward operator.

projslist

List of projection vectors.

ch_type‘grad’ | ‘mag’ | ‘eeg’

The type of sensors to use.

modestr

The type of sensitivity map computed. See manual. Should be ‘free’, ‘fixed’, ‘ratio’, ‘radiality’, ‘angle’, ‘remaining’, or ‘dampening’ corresponding to the argument –map 1, 2, 3, 4, 5, 6 and 7 of the command mne_sensitivity_map.

excludelist of str | str

List of channels to exclude. If empty do not exclude any (default). If ‘bads’, exclude channels in fwd[‘info’][‘bads’].

verbosebool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more). If used, it should be passed as a keyword-argument only.

Returns
stcSourceEstimate | VolSourceEstimate

The sensitivity map as a SourceEstimate or VolSourceEstimate instance for visualization.

Examples using mne.sensitivity_map