BaseTest#

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

Bases: Intervention

Base class for screening and triage.

Parameters:
  • product (str/Product) – the diagnostic to use

  • prob (float/arr) – annual probability of eligible women receiving the diagnostic

  • eligibility (inds/callable) – indices OR callable that returns inds

  • label (str) – the name of screening strategy

  • kwargs (dict) – passed to Intervention()

Methods

deliver(sim)[source]#

Deliver the diagnostics by finding who’s eligible, finding who accepts, and applying the product.