forked from mne-tools/mne-python
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MRG] DOC: clarify cluster-based permutation testing (mne-tools#10658)
- Loading branch information
1 parent
c3d6717
commit a2f6fe7
Showing
26 changed files
with
542 additions
and
209 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
# Authors: Eric Larson <[email protected]> | ||
# Stefan Appelhoff <[email protected]> | ||
# | ||
# License: Simplified BSD | ||
# License: BSD-3-Clause | ||
|
||
import numpy as np | ||
|
||
|
@@ -18,16 +19,26 @@ def combine_adjacency(*structure): | |
*structure : list | ||
The adjacency along each dimension. Each entry can be: | ||
- ndarray or sparse matrix | ||
- ndarray or scipy.sparse.spmatrix | ||
A square binary adjacency matrix for the given dimension. | ||
For example created by :func:`mne.channels.find_ch_adjacency`. | ||
- int | ||
The number of elements along the given dimension. A lattice | ||
adjacency will be generated. | ||
adjacency will be generated, which is a binary matrix | ||
reflecting that element N of an array is adjacent to | ||
elements at indices N - 1 and N + 1. | ||
Returns | ||
------- | ||
adjacency : scipy.sparse.coo_matrix, shape (n_features, n_features) | ||
The adjacency matrix. | ||
The square adjacency matrix, where the shape ``n_features`` | ||
corresponds to the product of the length of all dimensions. | ||
For example ``len(times) * len(freqs) * len(chans)``. | ||
See Also | ||
-------- | ||
mne.channels.find_ch_adjacency | ||
mne.channels.read_ch_adjacency | ||
Notes | ||
----- | ||
|
Oops, something went wrong.