make_hybrid_contacts#

class make_hybrid_contacts(pop_size, ages, contacts, school_ages=None, work_ages=None)[source]#

Create “hybrid” contacts – microstructured contacts for households and random contacts for schools and workplaces, both of which have extremely basic age structure. A combination of both make_random_contacts() and make_microstructured_contacts().