QuantitySelector.events
*patterns) compartment_model.QuantitySelector.events(
Select events with zero or more pattern strings.
Specify no patterns to select all events. Pattern strings match against event names which combine the source and destination compartment names with a separator. e.g., the event where individuals transition from “S” to “I” is called “S->I”. You must provide both a source and destination pattern, but you can use “-”, “>”, or “->” as the separator. Multiple patterns are combined as though by boolean-or. Pattern strings can use asterisk as a wildcard character to match any (non-empty) part of a name besides underscores. For example, “S->” would match events ”S->A” and ”S->B”. ”S->I_” would match “S->I_abc” and “S->I_def”.
Parameters
patterns: *str = ()
-
The event selection patterns, as a var-arg.
Returns
QuantitySelection
-
The selection object.