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.


The forward operator.


List of projection vectors.

ch_type'grad' | 'mag' | 'eeg'

The type of sensors to use.


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, 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 | 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.

stcSourceEstimate | VolSourceEstimate

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


When mode is 'fixed' or 'free', the sensitivity map is normalized by its maximum value.

Examples using mne.sensitivity_map#

Sensitivity map of SSP projections

Sensitivity map of SSP projections

Display sensitivity maps for EEG and MEG sensors

Display sensitivity maps for EEG and MEG sensors

Use source space morphing

Use source space morphing