nocad.measures.degree_correlation#

nocad.measures.degree_correlation(adj)[source]#

Mean degree of the neighbors of every node (MATLAB degreeCorrel).

Returns a dict with "in-in", "in-out", "out-out", "out-in": the first word selects the neighbors (in- or out-neighbors), the second the degree counted at the neighbors.