Repository navigation
DOC: Say adjacency=None is rarely right for sensor or source data in cluster tests - #14629
Open
PragnyaKhandelwal wants to merge 2 commits into
Open
PragnyaKhandelwal wants to merge 2 commits into
PragnyaKhandelwal wants to merge 2 commits into
Conversation
PragnyaKhandelwal
requested review from
agramfort,
drammock and
larsoner
as code owners
December 2, 2026 08:25
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reference issue (if any)
Related to #14428.
Forum thread: https://mne.discourse.group/t/6800
What does this implement/fix?
adjacency=Nonedescription in spatio_temporal_cluster_1samp_test (and the n-sample variant) says it assumes a regular lattice along the lastdimension, which is accurate but doesn't warn that this is almost never meaningful when that dimension is sensors or source vertices — the array
order doesn't reflect spatial neighbours.
are left unchanged because a lattice along time or frequency bins is correct.
Additional information