BaseScreening#

class BaseScreening(age_range=None, **kwargs)[source]#

Bases: BaseTest

Base class for screening.

Parameters:
  • age_range (list/tuple/arr) – age range for screening, e.g. [30,50]

  • kwargs (dict) – passed to BaseTest

Methods

check_eligibility(sim)[source]#

Return an array of indices of agents eligible for screening at time t, i.e. sexually active females in age range, plus any additional user-defined eligibility, which often includes the screening interval.

apply(sim)[source]#

Perform screening by finding who’s eligible, finding who accepts, and applying the product.