make_contacts#

class make_contacts(lno=None, tind=None, partners=None, current_partners=None, ages=None, debuts=None, is_female=None, is_active=None, mixing=None, layer_probs=None, f_cross_layer=None, m_cross_layer=None, durations=None, acts=None, age_act_pars=None, cluster=None, add_mixing=None)[source]#

Make contacts for a single layer as an edgelist. This will select sexually active male partners for sexually active females using age structure if given.