QuantityGrouping

compartment_model.QuantityGrouping()

Describes how to group simulation output quantities (events and compartments). The default combines any quantity whose names match exactly. This is common in multistrata models where events from several strata impact one transition. You can also choose to group across strata and subscript differences. Setting strata or subscript to True means those elements of quantity names (if they exist) are ignored for the purposes of matching.

Attributes

strata: bool

True to combine quantities across strata.

subscript: bool

True to combine quantities across subscript.