EoN.Simulation_Investigation.summary

Simulation_Investigation.summary(nodelist=None)[source]

Provides the population-scale summary of the dynamics. It returns a numpy array t as well as numpy arrays for each of the possible_statuses giving how many nodes had that status at the corresponding time.

Assumes that all entries in node_history start with same tmin

Arguments:
nodelist (default None)
The nodes that we want to focus on. By default this is all nodes. If you want all nodes, the most efficient thing to do is to not include 'nodelist'. Otherwise it will recalculate everything.
Returns:
summary tuple

a pair (t, D) where - t is a numpy array of times and - D is a dict whose keys are the possible statuses and whose values

are numpy arrays giving the count of each status at the specific times.

If nodelist is empty, this is for the entire graph. Otherwise it is just for the node in nodelist.