Skip to content
Open
1 change: 1 addition & 0 deletions doc/changes/dev/13774.other.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Clarify that the default minimum number of neighbors for clusters is 0 in :func:`mne.stats.permutation_cluster_test` and :func:`mne.stats.spatio_temporal_cluster_test`, by `Athish M`_.
8 changes: 8 additions & 0 deletions mne/stats/cluster_level.py
Original file line number Diff line number Diff line change
Expand Up @@ -1239,6 +1239,10 @@ def permutation_cluster_test(
Notes
-----
%(threshold_clust_f_notes)s
Note: By default, the minimum number of neighboring
points (e.g., channels) required to form a cluster is 0.
This means a single significant point can
technically constitute a cluster.
Comment on lines +1242 to +1245
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.

this note is in the References section. There's a "Notes" section right above.


References
----------
Expand Down Expand Up @@ -1539,6 +1543,10 @@ def spatio_temporal_cluster_test(
Notes
-----
%(threshold_clust_f_notes)s
Note: By default, the minimum number of neighboring
points (e.g., channels) required to form a cluster is 0.
This means a single significant point can
technically constitute a cluster.
Comment on lines +1546 to +1549
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.

Don't put notes in References section.


References
----------
Expand Down