Lecture 4 demo: the attractor project ===================================== These files are a flat copy of the scripts and requirement files of the repository https://github.com/borisbolliet/attractor, for reading. To run the demo, clone the repository, which also holds the ten chemostat runs in data/ and the configuration template .env.example: git clone https://github.com/borisbolliet/attractor.git ~/GitHub/attractor cd ~/GitHub/attractor source setup_env.sh # Python 3.12 venv, pinned packages, .env, Jupyter kernel python analyse.py # table of periods, results/periods.csv, results/periods.png Files ----- analyse.py period of every run from the peaks of the algae density period.py the same computation for one run: python period.py data/C9.csv check_env.py interpreter, NumPy version and location, project variables ask_llm.py sends results/periods.csv to the endpoint in LLM_BASE_URL setup_env.sh one-step setup, to be sourced requirements.txt specification: the four imported packages and ipykernel requirements-lock.txt pip freeze snapshot: 52 packages, Python 3.12, macOS arm64