lgca.interactions.chemotaxis

lgca.interactions.chemotaxis(lgca)

Rearrange nodes in response to an external gradient.

Parameters:
  • lgca (LGCA) – Lattice gas cellular automaton instance.

  • beta (float) – Strength of the bias toward the gradient.

  • gradient_field (numpy.ndarray) – External gradient field influencing motion.

Returns:

Notes

The lgca object is modified in place.