brainconn.motifs
.motif4struct_wei¶
-
motif4struct_wei
(W)[source]¶ Structural motifs are patterns of local connectivity. Motif frequency is the frequency of occurrence of motifs around a node. Motif intensity and coherence are weighted generalizations of motif frequency.
Parameters: W (NxN numpy.ndarray
) – weighted directed connection matrix (all weights between 0 and 1)Returns: - I (199xN
numpy.ndarray
) – motif intensity matrix - Q (199xN
numpy.ndarray
) – motif coherence matrix - F (199xN
numpy.ndarray
) – motif frequency matrix
Notes
Average intensity and coherence are given by I./F and Q./F.
- I (199xN