atomica.modelΒΆ
Implements the Atomica computational graph
Fundamentally, models in Atomica can be represented as a graph, with nodes corresponding to compartments, and edges corresponding to transitions/links. This module implements the graph representation of the Framework in a form that can be numerically integrated. It also implements the methods to actually perform the integration.
Functions
Build and process model  | 
Classes
A characteristic represents a grouping of compartments.  | 
|
A class to wrap up data for one compartment within a cascade network.  | 
|
A TimedCompartment has a duration group by virtue of having a .parameter attribute and a flush link.  | 
|
A Link is a Variable that maps to a transition between compartments.  | 
|
A class to wrap up multiple populations within model and handle cross-population transitions.  | 
|
Integration object to represent Parameters  | 
|
A class to wrap up data for one population within model.  | 
|
Junction with a residual outflow  | 
|
Derived class for source compartments  | 
|
Instantiate the TimedCompartment  | 
|
A TimedLink connects two TimedCompartments  | 
|
Integration object to manage compartments, characteristics, parameters, and links  | 
Exceptions
Error for invalid conditions  | 
|
Exception type for general model errors  |