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

It's easiest to work with Conda (Miniconda). The installation procedure then simply becomes:

conda env create
conda activate compwa-demo
pre-commit install --install-hooks

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

tox -e nb 2021.11.29/qrules.ipynb