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:
- fwd
Forward
The forward operator.
- projs
list
List of projection vectors.
- ch_type
'grad'
|'mag'
|'eeg'
The type of sensors to use.
- mode
str
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 commandmne_sensitivity_map
.- exclude
list
ofstr
|str
List of channels to exclude. If empty do not exclude any (default). If
'bads'
, exclude channels infwd['info']['bads']
.- verbosebool |
str
|int
|None
Control verbosity of the logging output. If
None
, use the default verbosity level. See the logging documentation andmne.verbose()
for details. Should only be passed as a keyword argument.
- fwd
- Returns:
- stc
SourceEstimate
|VolSourceEstimate
The sensitivity map as a SourceEstimate or VolSourceEstimate instance for visualization.
- stc
Notes
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
Display sensitivity maps for EEG and MEG sensors