netneurotools.metrics.matching_ind_und
- netneurotools.metrics.matching_ind_und(W)[source]
Calculate undirected matching index.
M0 = MATCHING_IND_UND(CIJ) computes matching index for undirected graph specified by adjacency matrix CIJ. Matching index is a measure of similarity between two nodes’ connectivity profiles (excluding their mutual connection, should it exist).
This function is adapted and optimized from the Brain Connectivity Toolbox.
Warning
Test before use.
- Parameters:
W ((N x N) ndarray) – Undirected connection matrix.
- Returns:
M0 – Matching index matrix
- Return type:
(N x N) ndarray
References