interventions#
Specify the core interventions available in Covasim. Other interventions can be defined by the user by inheriting from these classes.
Classes
Base class for interventions. |
|
A generic intervention that modifies a set of parameters at specified points in time. |
|
This is an example of a meta-intervention which switches between a sequence of interventions. |
|
The most basic intervention -- change beta (transmission) by a certain amount on a given day or days. |
|
Isolate contacts by removing them from the simulation. |
|
Test the specified number of people per day. |
|
Assign each person a probability of being tested for COVID based on their symptom state, quarantine state, and other states. |
|
Contact tracing of people who are diagnosed. |
|
Apply a simple vaccine to a subset of the population. |
|
Apply a vaccine to a subset of the population. |
|
Probability-based vaccination |
|
This vaccine intervention allocates vaccines in a pre-computed order of distribution, at a specified rate of doses per day. |
|
Probability-based historical vaccination |
|
Imprint a historical (pre t=0) wave of infections in the population NAbs |
Functions
Generate an intervention from a dictionary. |
|
Wrapper function for |
|
Wrapper function for |