Skip to content

epymorph.data.ipm.no

Defines a compartmental IPM with one compartment and no transitions.

No

Bases: CompartmentModel

The 'no' IPM: a single compartment with no transitions.

compartments class-attribute instance-attribute

compartments = (compartment('P'),)

The compartments of the model.

edges

edges(symbols)

When implementing a CompartmentModel, override this method to define the transition edges between compartments.

Parameters:

  • symbols (ModelSymbols) –

    An object containing the symbols in the model for use in declaring edges. These include compartments and data requirements.

Returns: