Simulation#
Running simulations#
|
|
|
Evolve a particular state, with index state_index, subject to some bounds. |
|
Evolve all states, stopping each as they reach the boundary conditions. |
|
Evolve some states, stopping each as they reach the boundary conditions. |
Modifying simulations and getting information#
Add a state to the simulation. |
|
Add n states to the simulation. |
|
|
Sets a system parameter to a value. |
Gets a system parameter. |
|
|
Returns a copy of the current canvas for state_index (default 0). |
|
Returns the current canvas for state_index (default 0), as a direct view of the state array. |
|
Returns the number of events simulated for a state. |
|
Returns the amount of time simulated (in seconds) for the state. |
|
Returns the number of tiles in the state. |
Returns the number of events simulated for each state. |
|
Returns the amount of time simulated (in seconds) for each state. |
|
Returns the number of tiles in each state. |
|
Returns the concentration of each tile in the system. |
|
Returns the stoichiometry of each tile in the system. |
|
Returns the names of each tile in the system. |
|
Returns the colors of each tile in the system. |
|
|
Returns the number of mismatches in the state. |
|
Returns an array of mismatches in the state. |
|
Plot a state as a pcolormesh. |
Returns a matplotlib colormap for tile numbers. |