brainconn.degree.degrees_dir

degrees_dir(CIJ)[source]

Node degree is the number of links connected to the node. The indegree is the number of inward links and the outdegree is the number of outward links.

Parameters:CIJ (NxN numpy.ndarray) – directed binary/weighted connection matrix
Returns:

Notes

Inputs are assumed to be on the columns of the CIJ matrix.
Weight information is discarded.

Examples using brainconn.degree.degrees_dir