BaseScreening#

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

Bases: BaseTest

Base class for screening.

Parameters:

kwargs (dict) – passed to BaseTest

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

check_eligibility()[source]#

Check eligibility

step()[source]#

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