The Programming Formalisms project of summer 2024.
To simulate bacterial movement in 2D space.
One way to model bacterial movement is the run and tumble model, where 'run' is going straight in a direction, and 'tumble' is picking a random direction. The 'run' lasts longer when a bacterium finds more and more nutrients (e.g. dissolved sugars), and lasts shorter when finding less and less nutrients.
Image from coursehero
from bacsim.simulation import run_experiment
run_experiment("parameter_filename.txt", "results_filename.csv")
Filename | Descriptions |
---|---|
mlc_config.json | Configuration of the link checker |
.spellcheck.yml | Configuration of the spell checker, use pyspelling -c .spellcheck.yml to do spellcheck locally |
.wordlist.txt | Whitelisted words for the spell checker, use pyspelling -c .spellcheck.yml to do spellcheck locally |
.pylintrc | Configuration file for pylint |
pyproject.toml | Configuration file of this package |