prior_immunity#
- class prior_immunity(*args, **kwargs)[source]#
Wrapper function for
historical_waveandhistorical_vaccinate_prob. If thevaccinekeyword is present thenhistorical_vaccinate_probwill be used. Otherwisehistorical_waveis used.Examples:
pim1 = cv.prior_immunity(vaccine='pfizer', days=[-30], prob=0.7) pim2 = cv.prior_immunity(120, 0.05)
New in version 3.1.0.