BaseCaseSurveillanceTracker#
- BaseCaseSurveillanceTracker(model, verbose=False, params=None)[source]#
Component for tracking detected cases in the model.
This component: 1. Simulates case detection based on a detection rate 2. Optionally tracks detected cases aggregated by geographic level 3. Uses a filter function to determine which nodes to include
Case detection is simulated using a binomial distribution. Cases can be tracked at individual node level or aggregated by geographic level. Uses a filter function to determine which nodes to include. Note that a single infection can be detected multiple times.
- Parameters:
model – The simulation model containing nodes, states, and parameters.
verbose (
bool
) – Whether to print verbose output during simulation. Defaults to False.params (
BaseCaseSurveillanceParams
|None
) – Component-specific parameters. If None, will use default parameters.