tnetwork.DynCommunitiesSN.snapshot_communities

DynCommunitiesSN.snapshot_communities(t=None)[source]

Affiliations by communities

If t is given, return communities at this t as a bidict id:{set of nodes} else, return a sorted dict, key:time, value: dict id:{set of nodes}

Parameters:t – time
Returns:a dict id:{set of nodes}