brainconn.clustering
.transitivity_wu¶
-
transitivity_wu
(W)[source]¶ Transitivity is the ratio of ‘triangles to triplets’ in the network. (A classical version of the clustering coefficient).
Parameters: W (NxN numpy.ndarray
) – weighted undirected connection matrixReturns: T – transitivity scalar Return type: int