tnetwork.DynCommunitiesSN.to_DynCommunitiesIG¶
-
DynCommunitiesSN.
to_DynCommunitiesIG
(sn_duration, convertTimeToInteger=False)[source]¶ Convert to SG communities
Parameters: - sn_duration – time of a snapshot, or None for automatic: each snapshot last until start of the next
- convertTimeToInteger – if True, communities IDs will be forgottent and replaced by consecutive integers
Returns: DynamicCommunitiesIG