tnetwork.DynGraphIG.edge_presence

DynGraphIG.edge_presence(edges=None, as_intervals=False)[source]

Return the periods of interactions for each pair of nodes with at least an interaction

Parameters:edges – the list of edges to get interactions for, all by default
Returns:dictionary, keys : pair of nodes, values : an interval object