QuantitySelector

compartment_model.QuantitySelector(self, ipm)

A utility class for selecting a subset of IPM quantities. Most of the time you obtain one of these using CompartmentModel’s select property.

Methods

Name Description
all Select all compartments and events.
indices Select quantities by index (determined by IPM definition order: all IPM compartments, all IPM events, and then meta edge events if any).
by Select compartments and events by providing pattern strings for each.
compartments Select compartments with zero or more pattern strings.
events Select events with zero or more pattern strings.