Notebooks for CHME 5137 (2026): fitting models to data, after Lectures 12 and 13.
| Notebook | What it is |
|---|---|
batch-reactor-regression.ipynb |
The regression homework: A ⇌ B in a batch reactor, fitted with curve_fit |
Each notebook has a paired .py file holding the same cells as plain text (see
Jupytext below).
- Fork this repository to your own GitHub account (button at top right).
- Clone your fork, not this one:
On Explorer, clone it into
git clone git@github.com:YOUR-USERNAME/parameter-estimation.git # SSH, e.g. on Explorer # or git clone https://github.com/YOUR-USERNAME/parameter-estimation.git
/courses/CHME5137.202710/students/$USER/. - Open
batch-reactor-regression.ipynband work through it, using your own kernel (chme5137on Explorer). Commit and push as you go:This is your own fork, so committing ongit add batch-reactor-regression.ipynb batch-reactor-regression.py git commit -m "Task 1: fit kf and kr at 298 K" git pushmainis fine. Don't open a pull request back toCHME5137/parameter-estimation: that would publish your answers to everyone.
jupytext.toml pairs each notebook with a .py script in the percent format, as in
the differential-equations and kinetic-monte-carlo repositories. Saving the notebook
updates the .py as well. If the two get out of step,
jupytext --sync batch-reactor-regression.ipynb brings them back in line.
Written with Claude Code (Claude Opus 5.5) and checked by Prof. West.