vivarium.processes.cellular_potts module¶
-
class
vivarium.processes.cellular_potts.
CPM
(config)[source]¶ Bases:
object
-
inverse_kronecker_delta
(value1, value2)[source]¶ Returns 0 if the values are the same, and 1 if they are different. Keeps neighboring sites with the same value from contributing to the effective energy
-
-
class
vivarium.processes.cellular_potts.
CellularPotts
(initial_parameters=None)[source]¶ Bases:
vivarium.core.process.Process
Cellular Potts model
To run with animation on set animate: True, and use the TKAgg matplotlib backend: > MPLBACKEND=TKAgg python vivarium/processes/cellular_potts.py
-
defaults
= {'grid_size': (10, 10), 'n_agents': 1, 'target_area': 10}¶
-
name
= 'cellular_potts'¶
-