brainconn.centrality
.flow_coef_bd¶
-
flow_coef_bd
(CIJ)[source]¶ Computes the flow coefficient for each node and averaged over the network, as described in Honey et al. (2007) PNAS. The flow coefficient is similar to betweenness centrality, but works on a local neighborhood. It is mathematically related to the clustering coefficient (cc) at each node as, fc+cc <= 1.
Parameters: CIJ (NxN numpy.ndarray
) – binary directed connection matrixReturns: - fc (Nx1
numpy.ndarray
) – flow coefficient for each node - FC (float) – average flow coefficient over the network
- total_flo (int) – number of paths that “flow” across the central node
- fc (Nx1