brainconn.centrality
.edge_betweenness_bin¶
-
edge_betweenness_bin
(G)[source]¶ Edge betweenness centrality is the fraction of all shortest paths in the network that contain a given edge. Edges with high values of betweenness centrality participate in a large number of shortest paths.
Parameters: A (NxN numpy.ndarray
) – binary directed/undirected connection matrixReturns: - EBC (NxN
numpy.ndarray
) – edge betweenness centrality matrix - BC (Nx1
numpy.ndarray
) – node betweenness centrality vector
Notes
Betweenness centrality may be normalised to the range [0,1] as BC/[(N-1)(N-2)], where N is the number of nodes in the network.
- EBC (NxN