An open API service indexing awesome lists of open source software.

https://github.com/compwa/demo

Collection of demo notebooks
https://github.com/compwa/demo

Last synced: about 1 year ago
JSON representation

Collection of demo notebooks

Awesome Lists containing this project

README

          

# ComPWA demo notebooks

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Spelling checked](https://img.shields.io/badge/cspell-checked-brightgreen.svg)](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)

A collection of Jupyter notebooks that demonstrate features of the [ComPWA](https://github.com/ComPWA) packages [QRules](https://qrules.rtfd.io), [AmpForm](https://ampform.rtfd.io), and [TensorWaves](https://tensorwaves.rtfd.io). The notebooks are self-contained in the sense that they define their own pinned requirements and can be run independently in [Binder](https://mybinder.org) or [Google Colaboratory](https://research.google.com/colaboratory).

## Presentations

- **2023.12.14** [5th COMPASS "Analysis Phase" mini-workshop](https://indico.cern.ch/event/1348003) (COMAP-V)

[![PPTX Slides](https://img.shields.io/badge/view-slides-9cf?style=flat&logo=microsoftonedrive)](https://1drv.ms/p/s!Ai5ZGBfm7ipQlJp2wH9IWwmFGD4bpQ?e=9hrdUK)
[![PDF Slides](https://img.shields.io/badge/PDF-9cf?style=flat&logo=files)](https://indico.cern.ch/event/1348003/contributions/5677101/attachments/2772309/4830895/2023-12-14_COMAP_Symbolic_models.pdf)
- **2023.08.03** Jefferson Lab Hall D Talk

[![PPTX Slides](https://img.shields.io/badge/view-slides-9cf?style=flat&logo=microsoftonedrive)](https://1drv.ms/p/s!Ai5ZGBfm7ipQk9k1TpgcoEOz-qR1Zw?e=dxvVQr)
[![PDF Slides](https://img.shields.io/badge/PDF-9cf?style=flat&logo=files)](https://1drv.ms/b/s!Ai5ZGBfm7ipQk9k3Fr8o6q5H_YSaqQ?e=fkuYBo)
- **2023.07.26** [PyHEP.dev](https://indico.cern.ch/event/1234156/timetable/#4-self-documenting-model-build)

[![PPTX Slides](https://img.shields.io/badge/view-slides-9cf?style=flat&logo=microsoftonedrive)](https://1drv.ms/p/s!Ai5ZGBfm7ipQk9IeaGc9GA34PqEGIw?e=JlHjII)
[![PDF Slides](https://img.shields.io/badge/PDF-9cf?style=flat&logo=files)](https://indico.cern.ch/event/1234156/contributions/5502153/attachments/2688765/4669262/ComPWA.pdf)
- **2023.06.07** [HADRON2023](https://agenda.infn.it/event/33110/contributions/198133) [[polarimetry](https://github.com/ComPWA/polarimetry)]

[![PPTX Slides](https://img.shields.io/badge/view-slides-9cf?style=flat&logo=microsoftonedrive)](https://1drv.ms/p/s!Ai5ZGBfm7ipQk8538zF3cyOflWxiUw?e=EYHVvX)
[![PDF Slides](https://img.shields.io/badge/PDF-9cf?style=flat&logo=files)](https://agenda.infn.it/event/33110/contributions/198133/attachments/106423/149913/ComPWA_polarimetry_static.pdf)
- **2023.05.11** [CHEP2023](https://indico.jlab.org/event/459/contributions/11604)

[![Slides](https://img.shields.io/badge/view-slides-9cf?style=flat&logo=googledrive)](https://docs.google.com/presentation/d/e/2PACX-1vQc5F6HI4gOSYgvMeq74AThWjPWE8y0xBVJf4t6xdXmD7F5nN7_4JohH-_4qN_wCIkjW4rZ-3mjs6E-/pub)
- **2023.03.16** [BESIII Collaboration Meeting Spring 2023](https://indico.ihep.ac.cn/event/18456/contributions/129390) [[polarimetry](https://github.com/ComPWA/polarimetry)]

[![Slides](https://img.shields.io/badge/view-slides-9cf?style=flat&logo=files)](https://indico.ihep.ac.cn/event/18456/contributions/129390/attachments/67431/80088/2023.03.16_polarimetry_bes3_v1.pdf)
- **2022.11.16** [FDSA2022](https://indico.jlab.org/event/600/contributions/10964/) [[polarimetry](https://github.com/ComPWA/polarimetry)]

[![Slides](https://img.shields.io/badge/view-slides-9cf?style=flat&logo=files)](https://indico.jlab.org/event/600/contributions/10964/attachments/8674/12523/2022.11.16_Polarimetry_talk_FDSA2022_at_JLab.pdf)
- **2022.09.15** [PyHEP 2022 Workshop](https://indico.cern.ch/event/1150631/contributions/5002013)

[![Slides](https://img.shields.io/badge/view-slides-9cf?style=flat&logo=googledrive)](https://docs.google.com/presentation/d/e/2PACX-1vRF-EG2B6u8a6Wb3--TY37bBEgM0bIxgNkCesokrTEwdQZbMwONMXOKqn5GZSirAIH9NXVv6v0ym_es/pub)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ComPWA/PyHEP2022/0.3?urlpath=%2Fnotebooks%2Ftalk.ipynb)
[![Google Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ComPWA/PyHEP2022/blob/0.3/talk.ipynb)
- **2022.09.14** [Second MODE Workshop on Differentiable Programming for Experiment Design](https://indico.cern.ch/event/1145124/contributions/4988905)

[![Slides](https://img.shields.io/badge/view-slides-9cf?style=flat&logo=googledrive)](https://docs.google.com/presentation/d/e/2PACX-1vRju8pgWdx1mLLQ7Qh3GpoY3Yr52k9CjZxec-Tf-YuFpoiXOTfZXTZp2ca-5LNNlesAoW30nPymUSeS/pub)
- **2022.07.15** [ODSL](https://www.origins-cluster.de/infrastruktur/odsl) Forum Talk

[![Slides](https://img.shields.io/badge/view-slides-9cf?style=flat&logo=googledrive)](https://docs.google.com/presentation/d/e/2PACX-1vQ2R_H5loTQrJ5NeK9IzQ_FUA8vl-EeiDbszns1GsnlH2WGomJBL-eZ6hCefFxZcl5RuimPY0Z8TW59/pub)
- **2022.03.29** [DPG Spring Meeting 2022, Mainz](https://www.dpg-verhandlungen.de/year/2022/conference/mainz/part/hk/session/32/contribution/1)

[![Slides](https://img.shields.io/badge/view-slides-9cf?style=flat&logo=googledrive)](https://docs.google.com/presentation/d/1hOB0P8CIfT7vwGXXBD1t4GTeSzO-S-3_ZIByDbAdElE/pub)
- **[2021.12.13](./2021.12.13)** P̅ANDA Seminar

[![Slides](https://img.shields.io/badge/view-slides-9cf?style=flat&logo=googledrive)](https://docs.google.com/presentation/d/e/2PACX-1vSymz5AjdhPw4Kz1pKhdFMnFGYuQvVaC8WbV_HTg770x6RDYoP-Anv9tn88DSuzvSiiQ9F4pcDGVExv/pub)
[![Binder](https://static.mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ComPWA/demo/main?urlpath=lab/tree/2021.12.13/qrules.ipynb)
[![Google Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ComPWA/demo/blob/main/2021.12.13/qrules.ipynb)

- **[2021.11.29](./2021.11.29)** [BESIII Collaboration Meeting Winter 2021](https://indico.ihep.ac.cn/event/15291)

[![Slides](https://img.shields.io/badge/view-slides-9cf?style=flat&logo=googledrive)](https://docs.google.com/presentation/d/e/2PACX-1vTMb3vsOqQUI_A3LYMs0iBvFwuIzyf49rG-PDXpR2TzwXJ4hkg-NzPB_Mslv7DcZuV1Tzm7duZEtI8q/pub)
[![Binder](https://static.mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ComPWA/demo/main?urlpath=lab/tree/2021.11.29/qrules.ipynb)
[![Google Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ComPWA/demo/blob/main/2021.11.29/qrules.ipynb)
- **2021.10.08** [LHCb Amplitude Analysis Meeting](https://indico.cern.ch/event/1081320)

[![Slides](https://img.shields.io/badge/view-slides-9cf?style=flat&logo=googledrive)](https://docs.google.com/presentation/d/e/2PACX-1vTUQRI34jbEG6MIXFHZiIYiXD0H2JFEUJTO5DEfDZjZNyHi6hQDTJy4URvMiyT-g0ENYP8dRsdnlrI_/pub)
- **2021.09.08** [PWA 12 / ATHOS 7 in Bristol](https://indico.cern.ch/event/885396/contributions/4373645)

[![Slides](https://img.shields.io/badge/view-slides-9cf?style=flat&logo=googledrive)](https://docs.google.com/presentation/d/e/2PACX-1vQUqojagLjhMa_GQjQCTxCbtACwoDKwac9zoYorQrTZ3BF8cq9eJ349dF7nWzg1bS1oPL8NRbD-lGQx/pub)

## Local installation

It's easiest to work with [Conda](https://docs.conda.io/en/latest/index.html) ([Miniconda](https://docs.conda.io/en/latest/miniconda.html)). The installation procedure then simply becomes:

```shell
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.:

```shell
tox -e nb 2021.11.29/qrules.ipynb
```