Skip to content

ComPWA/demo

Repository files navigation

ComPWA demo notebooks

code style: prettier Spelling checked Ruff uv

A collection of Jupyter notebooks that demonstrate features of the ComPWA packages QRules, AmpForm, and TensorWaves. The notebooks are self-contained in the sense that they define their own pinned requirements and can be run independently in Binder or Google Colaboratory.

Presentations

Local installation

Install uv and run

source .venv/bin/activate

to create a virtual environment and with dependencies installed. In addition, it is useful to install pre-commit once:

uv tool install --with pre-commit-uv pre-commit
pre-commit install --install-hooks

Style checks can now be performed with either of the commands pre-commit run -a or poe style. To run a specific notebook or a folder with notebooks, use e.g.:

poe nb 2021.11.29/qrules.ipynb

About

Collection of demo notebooks

Resources

Stars

Watchers

Forks

Contributors 5