make_microstructured_contacts#

class make_microstructured_contacts(pop_size, cluster_size, mapping=None)[source]#

Create microstructured contacts – i.e. for households.

Parameters:
  • pop_size (int) – total number of people

  • cluster_size (int) – the average size of each cluster (Poisson-sampled)

New in version 3.1.1: optimized updated arguments.