metawards.utils.aggregate_networks

metawards.utils.aggregate_networks(network: Networks, profiler: Profiler, nthreads: int = 1) None

Aggregate all of the Susceptibles data from the demographic sub-networks into an overall total set of data that is stored in the overall network

Parameters
  • network (Networks) – The collection of networks to be aggregated

  • profiler (Profiler) – Profiler used to profile the calculation

  • nthreads (int) – The number of threads over which to parallelise this work