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
has_product
Check if the intervention has a product
now
Shortcut to self.t.now()
states
Return a flat list of all states
statesdict
Return a flat dictionary (objdict) of all states
ti
Get the current module timestep
timevec
Shortcut to self.t.timevec
Methods