brainconn.centrality.erange

erange(CIJ)[source]

Shortcuts are central edges which significantly reduce the characteristic path length in the network.

Parameters:CIJ (NxN numpy.ndarray) – binary directed connection matrix
Returns:
  • Erange (NxN numpy.ndarray) – range for each edge, i.e. the length of the shortest path from i to j for edge c(i,j) after the edge has been removed from the graph
  • eta (float) – average range for the entire graph
  • Eshort (NxN numpy.ndarray) – entries are ones for shortcut edges
  • fs (float) – fractions of shortcuts in the graph

Notes

Follows the treatment of ‘shortcuts’ by Duncan Watts