Skip to content

Examples & tutorials

Here we provide a few basic examples to get you started with cellpy - from reading the data to creating some basic plots. These notebooks, the used datafiles and a little more can be found in the examples folder in the cellpy GitHub repository.

Note

Most of these notebooks were written for cellpy 1.x. They should still run under 2.x thanks to the compatibility layer, but if something looks off, let us know.

Contributions to more example notebooks are of course very welcome!

About these pages

Most pages here are rendered from the Jupyter notebooks in docs/examples/ and show the outputs their authors saved. Interactive plotly figures are replaced by their static renderings — grab the .ipynb from the repository if you want to pan and zoom.

To re-render after changing a Jupyter notebook:

uv run --group docs python dev/render_example_notebooks.py

There is also a small marimo spike under docs/examples/marimo/. Those pages are exported with marimo-md-export (markdown plus embedded outputs — no Pyodide in the docs site). Re-render with:

uv run --group docs python dev/render_marimo_notebooks.py