campaign_triage#

class campaign_triage(product=None, prob=None, eligibility=None, **kwargs)[source]#

Bases: BaseTriage, CampaignDelivery

Campaign triage - an instance of base triage combined with campaign delivery. See base classes for a description of input arguments.

Examples:

# Example: In 2030, triage all positive screens into confirmatory testing screened_pos = lambda sim: sim.interventions.screening.outcomes[‘positive’] triage1 = ss.campaign_triage(product=my_triage, eligibility=screen_pos, prob=0.9, years=2030)

Attributes

now

Return the current time, i.e. the time vector at the current timestep.

states

Return a flat list of all states

statesdict

Return a flat dictionary (objdict) of all states

Methods