graph_tool.correlations#

This module contains functions that compute various correlations among nodes of a network.

Summary#

assortativity

Obtain the assortativity coefficient for the given graph.

scalar_assortativity

Obtain the scalar assortativity coefficient for the given graph.

corr_hist

Obtain the correlation histogram for the given graph.

combined_corr_hist

Obtain the single-vertex combined correlation histogram for the given graph.

avg_neighbor_corr

Obtain the average neighbor-neighbor correlation for the given graph.

avg_combined_corr

Obtain the single-vertex combined correlation histogram for the given graph.