lgca¶
biolgca is a Python package for simulating different types of lattice-gas cellular automata (LGCA) in the biological context. It is under active development.
It is tightly coupled to the theoretical method presented by Deutsch et al. [1]. The get_lgca function returns an LGCA object of the requested type with the given initial conditions. It can simulate for a given number of timesteps and has different plotting functions for analysis, depending on the geometry. The interaction function can be chosen from built-in ones or defined by the user. Currently, classical LGCA and identity-based LGCA with and without volume exclusion, respectively, are supported on 1D, 2D square, 2D hexagonal, 3D cubic and 3D Moore lattices.
References¶
Deutsch A, Nava-Sedeño JM, Syga S, Hatzikirou H (2021) BIO-LGCA: A cellular automaton modelling class for analysing collective cell migration. PLoS Comput Biol 17(6): e1009066. https://doi.org/10.1371/journal.pcbi.1009066
Functions
|
Build an LGCA with the specified geometry and initial conditions. |
Modules
Abstract base classes. |
|
Compatibility reexports for base classes moved to dedicated modules. |
|
Extended 3D cubic LGCA models. |
|
Extensions to the base LGCA classes. |
|
Interaction functions and helper functions for identity-based LGCA with volume exclusion. |
|
Interaction functions and helper functions for classical LGCA with volume exclusion. |
|
Classes for one-dimensional LGCA. |
|
3D Moore lattice LGCA implementations. |
|
3D cubic lattice LGCA implementations. |
|
Classes for two-dimensional LGCA on a hexagonal arm-share lattice. |
|
Classes for two-dimensional LGCA on a square lattice. |
|
Helpers for object arrays containing per-channel cell-label lists. |
|
Multi-species 1D LGCA implementations. |
|
Multi-species cubic lattice LGCA implementations. |
|
Multi-species hexagonal LGCA implementations. |
|
Interaction rules for classical multi-species LGCA. |
|
Multi-species 3D Moore lattice LGCA implementations. |
|
Multi-species square lattice LGCA classes. |
|
Multi-species LGCA base classes. |
|
Extensions to the base LGCA classes. |
|
Extensions to the base LGCA classes. |
|
Interaction functions and helper functions for identity-based LGCA without volume exclusion. |
|
Interaction functions and helper functions for LGCA without volume exclusion. |
|
Utilities for plotting properties and outputs of all LGCA types. |
|
Extended 2D square LGCA models. |
|
Plotting utilities for square lattice LGCA. |