epiworldpy.ModelSURV#
- class epiworldpy.ModelSURV(self: epiworldpy._core.ModelSURV, name: str, prevalence: float, efficacy_vax: float, latent_period: float, prob_symptoms: float, prop_vaccinated: float, prop_vax_redux_transm: float, infect_period: float, prop_vax_redux_infect: float, surveillance_prob: float, transmission_rate: float, prob_death: float, prob_noreinfect: float)#
A model where agents may be isolated, even when asymptomatic.
Create a new SURV model.
- __init__(self: epiworldpy._core.ModelSURV, name: str, prevalence: float, efficacy_vax: float, latent_period: float, prob_symptoms: float, prop_vaccinated: float, prop_vax_redux_transm: float, infect_period: float, prop_vax_redux_infect: float, surveillance_prob: float, transmission_rate: float, prob_death: float, prob_noreinfect: float) None #
Create a new SURV model.
Methods
__init__
(self, name, prevalence, ...)Create a new SURV model.
add_entity
(self, arg0)add_state
(self, lab, fun)add_tool
(self, tool)Adds a tool to modify the model.
add_virus
(self, virus)Adds a virus to the model
agents_from_edgelist
(self, source, target, ...)Populatates the model's agents from an edge list.
agents_smallworld
(self, n, k, d, p)Populate the model without an edgelist.
get_db
(self)Get the data from the model run, which may then be queried with associated methods.
get_entity
(self, arg0, arg1)get_name
(self)Get the name of the type of model.
get_states
(self)print
(self[, summary])Print a summary of the model run.
run
(self, ndays[, seed])Run the model according to the previously specific parameters.