Skip to content

'mode' for mne.sensitivity_map not explained #12979

Closed

Description

@olafhauk

Proposed documentation enhancement

The current documentation for the option 'mode' of mne.sensitivity_maps refers to a "manual" (presumbably the C-version of MNE), but there is no link (see below). I think the different choices should be explained in the documention of MNE-Python, without reference to a manual.

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 command mne_sensitivity_map.

Activity

  1. larsoner commented on Nov 22, 2024

    @larsoner
    Member

    @olafhauk would you be up for taking the text from here and adding it?

    $ mne_sensitivity_map --help
    usage: mne_sensitivity_map [options]
    Compute MEG and EEG sensitivity maps over the cortex.
    	--fwd name        The input file.
    	--proj name       Load a projection operator from this file
    	--eeg             Include EEG instead of MEG.
    	--mag             Include magnetometers instead of gradiometers.
    	--map number      Select the quantity to compute:
    	                  1 : Maximum obtainable signal among all orientations
    	                  2 : Signal from sources normal to the cortex
    	                  3 : Ratio of signal from sources normal to the cortex and max
    	                  4 : Ratio of signal from sources normal to the cortex and max
    	                  5 : Subspace angle with the noise subspace
    	                  6 : Fraction of signal remaining after the projection
    	                  7 : Fraction of signal dampening due to the projection
    
  2. added this to the 1.9 milestone on Nov 22, 2024
  3. modified the milestones: 1.9, 1.10 on Dec 9, 2024
  4. removed this from the 1.10 milestone on Jun 26, 2025
  5. Natalie-Negussie commented on Aug 15, 2025

    @Natalie-Negussie

    Hi :)
    I'd like to work on this. I'm new to contributing to MNE, so please let me know if there are any preferred guidelines or wording. I'll add a clear explanation of the mode options to the API docstring of mne.sensitivity_map (and link from the docs if needed). If there’s any preferred wording, please let me know.

  6. added 2 commits that reference this issue on Aug 16, 2025
    a367df7
    2daf592
  7. 1himan commented on Jan 3, 2026

    @1himan
    Contributor

    any updates on this one @NatalieNegussie97 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions