modules#

General module class – base class for diseases, interventions, etc. Also defines Analyzers and Connectors.

Classes

Base

The parent class for Sim and Module objects

Module

The main base class for all Starsim modules: diseases, networks, interventions, etc.

Analyzer

Base class for Analyzers.

Connector

Base class for Connectors, which mediate interactions between disease (or other) modules

Functions

module_map

Define the mapping between module names and types

find_modules

Find all subclasses of Module present in Starsim, divided by type