Skip to content

DOC: move eLORETA-specific note out of the template %(depth)s docstring - #13996

Merged
larsoner merged 2 commits into
mne-tools:mainfrom
ctrltz:fix-make-lcmv-docstring
Jun 28, 2026
Merged

DOC: move eLORETA-specific note out of the template %(depth)s docstring#13996
larsoner merged 2 commits into
mne-tools:mainfrom
ctrltz:fix-make-lcmv-docstring

Conversation

@ctrltz

@ctrltz ctrltz commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Reference issue (if any)

None.

What does this implement/fix?

This small PR moves one sentence ("This is effectively ignored when method='eLORETA'") from the docstring of depth parameter to mne.minimum_norm.make_inverse_operator, which is the only place where it actually applies. The docstring itself is also re-used in mne.beamformer.make_lcmv, mne.beamformer.make_dics, mne.inverse_sparse.gamma_map, mne.inverse_sparse.mixed_norm, and mne.inverse_sparse.tf_mixed_norm, but in all those places it is rather a bit confusing, since none of the functions have a method parameter.

Additional information

I built the docs locally, and the changes also look as intended in the rendered HTML. Due to small scope, I omitted the changelog entry, but I can add it if you think it's worth mentioning. For the same reason, I skipped creating an issue on this, which is hopefully fine.

@larsoner larsoner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ctrltz

@larsoner
larsoner merged commit 8e64680 into mne-tools:main Jun 28, 2026
33 of 34 checks passed
@ctrltz
ctrltz deleted the fix-make-lcmv-docstring branch June 28, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants