BaseVaccination#
- class BaseVaccination(product=None, prob=None, age_range=None, sex=None, eligibility=None, label=None, **kwargs)[source]#
Bases:
Intervention
Base vaccination class for determining who will receive a vaccine.
- Parameters:
product (str/Product) – the vaccine to use
prob (float/arr) – annual probability of eligible population getting vaccinated
age_range (list/tuple) – age range to vaccinate
sex (int/str/list) – sex to vaccinate - accepts 0/1 or ‘f’/’m’ or a list of both
eligibility (inds/callable) – indices OR callable that returns inds
label (str) – the name of vaccination strategy
kwargs (dict) – passed to Intervention()
Methods