brainconn.motifs
.motif3struct_wei¶
-
motif3struct_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 (13xN
numpy.ndarray
) – motif intensity matrix - Q (13xN
numpy.ndarray
) – motif coherence matrix - F (13xN
numpy.ndarray
) – motif frequency matrix
Notes
Average intensity and coherence are given by I./F and Q./F.
- I (13xN