lgca.ib_interactions

Interaction functions and helper functions for identity-based LGCA with volume exclusion.

Functions

birth(lgca)

Create daughter cells according to individual proliferation rates.

birthdeath(lgca)

Birth-death dynamics with mutating proliferation rates.

birthdeath_discrete(lgca)

Birth-death process with discrete proliferation-rate mutations.

go_and_grow_mutations(lgca)

Birth-death dynamics with explicit family tracking and mutations.

go_or_grow(lgca)

Implement the go-or-grow interaction scheme.

random_walk(lgca)

Shuffle particles between channels to mimic diffusion.

trunc_gauss(lower, upper, mu[, sigma, size, rng])

Draw samples from a truncated normal distribution.