tnetwork.DynCommunitiesSN.snapshot_affiliations

DynCommunitiesSN.snapshot_affiliations(t=None)[source]

Affiliations by snapshots

If t is given, return affiliation at this t as a dict, key=node, value=set of communities else, return a sorted dict, key:time, value: dict node:communities

Parameters:t – time
Returns:sorted dict, key:time, value: dict node:communities or key=node, value=set of communities