brainconn.centrality
.betweenness_bin¶
-
betweenness_bin
(G)[source]¶ Node betweenness centrality is the fraction of all shortest paths in the network that contain a given node. Nodes with high values of betweenness centrality participate in a large number of shortest paths.
Parameters: - A (NxN
numpy.ndarray
) – binary directed/undirected connection 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.
- A (NxN