phasik.classes.TemporalNetwork.TemporalNetwork.aggregated_network

TemporalNetwork.aggregated_network(time_indices=None, output='weighted')[source]

Returns a time-aggregated network as a networkx.Graph

Parameters
  • time_indices (list of int, optional) – Indices of times over which to aggregate the network (default: all times).

  • output ({‘weighted’, ‘averaged’, ‘binary’, ‘normalised’}, optional) – Determines the type of output edge weights

Returns

G_agg – Aggregated network

Return type

networkx Graph