https://github.com/compwa/gluex-amplitude

https://github.com/compwa/gluex-amplitude

Science Score: 39.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
Statistics
  • Stars: 7
  • Watchers: 8
  • Forks: 1
  • Open Issues: 6
  • Releases: 0
Created almost 3 years ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

Comparison repository for GlueX amplitude models

Ruff Pixi Badge code style: prettier

This repository was created during PWA working group meetings for GlueX at Jefferson Lab, July 31st to August 4th, 2023. Live notes for these discussions can be found here on HackMD. Each meeting was organised like a 'hackathon' and the results of these programming sessions can be found on compwa.github.io/gluex-amplitude.

The main target for the week was to implement a simple intensity function for two-pseudoscalar system with photo-production:

where $Z{l}^{m}(\Omega,\Phi)=Y{l}^{m}(\Omega)e^{-i\Phi}$ is a phase-rotated spherical harmonic, $\Omega$ is the solid angle, $\Phi$ is the angle between the production and polarization planes, $P_{\gamma}$ is the polarization magnitude, $[l]$ are the partial wave amplitudes, $m$ is the associated m-projection, $k$ refers to a spin flip ($k=1$) or non-flip ($k=0$) at the nucleon vertex, and $\kappa$ is an overall phase space factor.

The details for this model have been worked out in 10.1103/PhysRevD.100.054017 (2019).

The amplitude model is implemented in AmpTools and symbolically in Python using SymPy with additional tools from amptools (ComPWA Project). Dynamics are not yet included (model-indepedent by binning over energy). So we are just comparing linar combinations of spherical harmonics, but the comparison can be extended by investigating final states with a vector meson and/or parametrizing dynamic lineshapes.

Installation

This repository comes with AmpTools as a submodule, under extern/AmpTools. If you clone this repository as:

shell git clone https://github.com/compwa/gluex-amplitude --recurse-submodules

you should get AmpTools as well. Alternatively, if you have already cloned the repository, you can initialize the submodule with:

shell git submodule update --init

All required dependencies can be installed within an isolated virtual environment through the Pixi package manager. Installation instructions can be found here.

To build all source code, simply run:

shell pixi run build

Other Pixi tasks can be listed with

shell pixi task list

In particular, you can build the website with the Python notebook with the doc task:

shell pixi run doc

Open docs/_build/html/index.html to view the resulting HTML pages. In VSCode, you can view the output HTML files by searching for "Live Preview: Start Server" through the command pallette (Ctrl+Shift+P).

Finally, to automatically run style checks over files you are committing, it is recommended to install pre-commit:

shell pixi global install --expose pre-commit pre-commit-uv pre-commit install --install-hooks

Owner

  • Name: Common Partial Wave Analysis
  • Login: ComPWA
  • Kind: organization
  • Email: compwa@ep1.rub.de
  • Location: Germany

Making amplitude analysis reproducible, understandable, and easy to do

GitHub Events

Total
  • Delete event: 10
  • Issue comment event: 4
  • Push event: 52
  • Pull request review comment event: 2
  • Pull request review event: 8
  • Pull request event: 15
  • Create event: 10
Last Year
  • Delete event: 10
  • Issue comment event: 4
  • Push event: 52
  • Pull request review comment event: 2
  • Pull request review event: 8
  • Pull request event: 15
  • Create event: 10

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 6
  • Total pull requests: 40
  • Average time to close issues: 4 months
  • Average time to close pull requests: 13 days
  • Total issue authors: 1
  • Total pull request authors: 5
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.05
  • Merged pull requests: 32
  • Bot issues: 0
  • Bot pull requests: 11
Past Year
  • Issues: 0
  • Pull requests: 16
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 day
  • Issue authors: 0
  • Pull request authors: 4
  • Average comments per issue: 0
  • Average comments per pull request: 0.06
  • Merged pull requests: 10
  • Bot issues: 0
  • Bot pull requests: 6
Top Authors
Issue Authors
  • redeboer (5)
Pull Request Authors
  • redeboer (31)
  • pre-commit-ci[bot] (11)
  • dependabot[bot] (3)
  • lan13005 (2)
  • grayson-helmholz (2)
Top Labels
Issue Labels
🖱️ DX (1) 🔨 Maintenance (1)
Pull Request Labels
🔨 Maintenance (16) Symbolics (6) 🖱️ DX (6) AmpTools (5) 📝 Docs (3) 🐛 Bug (2) ⚪ Duplicate (2) dependencies (2) github_actions (2) ⬆️ Lock (1)

Dependencies

.github/workflows/amptools.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
.github/workflows/clean-caches.yml actions
  • ComPWA/actions/clean-caches v1 composite
.github/workflows/docs.yml actions
  • ComPWA/actions/pip-install v1 composite
  • actions/checkout v3 composite
  • actions/deploy-pages v2 composite
  • actions/upload-pages-artifact v1 composite
binder/requirements.txt pypi
pyproject.toml pypi
  • ampform *
  • ipympl *
  • ipywidgets *
  • matplotlib *
  • pandas *
  • sympy *
  • uproot *
.github/workflows/lock.yml actions
.github/workflows/pr-linting.yml actions