# EoN.get_Pk¶

EoN.get_Pk(G)[source]

Used in several places so that we can input a graph and then we can call the methods that depend on the degree distribution

G networkx Graph

Pk dict
Pk[k] is the proportion of nodes with degree k.