pymnet.multiplex_degs

pymnet.multiplex_degs(net, degstype='distribution')

Returns a dictionary of degree distributions of each intra-layer network of a multiplex network.

Parameters
netMultiplexNetwork

A multiplex network object.

degstypestring

If ‘distribution’, then degs dicts give the degree distributions. I.e., keys are degrees, and corresponding values are number of nodes with the given degree. If ‘nodes’, then degs dicts give node degrees. I.e, keys are node names and corresponding values are degrees of those nodes.