Skip to content

DOC: add TR-036 and TR-037 on phase space - #51

Merged
redeboer merged 13 commits into
mainfrom
adaptive-phsp-max-weight
Nov 18, 2026
Merged

redeboer merged 13 commits into
mainfrom
adaptive-phsp-max-weight

Conversation

@redeboer

@redeboer redeboer commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

📝 Documentation

  • Adds TR-036, which benchmarks the adaptive_max_weight option that tensorwaves#604 adds to TFPhaseSpaceGenerator. It shows how the acceptance of the hit-and-miss step drops with the number of pions for the default setting, times both settings for decays into three to six pions, and compares Dalitz plots, projections with pulls, and Kolmogorov–Smirnov tests for a three-body and a five-pion decay. The tensorwaves documentation keeps only a usage example and links to this report. The report installs tensorwaves from commit d87354f on main, where #604 was merged, until the option is released, and pins phasespace~=1.10.4 because TFPhaseSpaceGenerator fails with phasespace 2.0 ("The random generator does not belong to the current backend").
  • Adds TR-037, which compares the NumPy, TensorFlow, and JAX backends that tensorwaves#599 enables for PhaseSpaceGenerator with phasespace 2.0. It times each backend for three-body and four-body decays and checks that all backends generate the same distributions. TensorFlow and JAX are several times faster than NumPy after compilation. The report installs tensorwaves from commit 623dc67 of that PR.
  • Both reports are frozen in docs/conf.py, so documentation builds do not execute them. Their figures are embedded as hosted images, so the rendered pages still show them.

🐛 Bug fixes

  • Replaces broken links to the STRONG2020 HaSP School in TR-025 and TR-033 with the lecture pages on compwa.github.io/strong2020-salamanca, and cites the Asokan et al. paper in TR-027 through the bibliography instead of a dead PDF link.
  • Fixes a codeautolink warning in TR-001 by calling super().__new__() in ComplexSqrt.

Squash commit messages

* FIX: fix the codeautolink warning in TR-001
* FIX: repair broken links in TR-025, TR-027, and TR-033
* MAINT: exclude APS DOI from link check

@redeboer redeboer added 📝 Docs Improvements or additions to documentation 📖 Software About software development labels Nov 17, 2026
@redeboer
redeboer force-pushed the adaptive-phsp-max-weight branch from dad94f2 to b59dbed Compare November 17, 2026 21:07
@redeboer redeboer self-assigned this Nov 17, 2026
@redeboer redeboer added the 🖱️ DX Improvements to the Developer Experience label Nov 17, 2026
@redeboer
redeboer force-pushed the adaptive-phsp-max-weight branch from b0cc270 to fbc5b80 Compare November 18, 2026 11:04
@redeboer
redeboer changed the base branch from main to dependabot/lock-2fb387fa0b November 18, 2026 12:38
@redeboer
redeboer changed the base branch from dependabot/lock-2fb387fa0b to main November 18, 2026 12:38
@redeboer redeboer changed the title DOC: add TR-038 on adaptive phase space max weight DOC: add TR-036 and TR-037 on phase space Nov 18, 2026
@redeboer redeboer removed the 🖱️ DX Improvements to the Developer Experience label Nov 18, 2026
@redeboer redeboer added the 🐛 Bug Something isn't working label Nov 18, 2026
@redeboer
redeboer merged commit ee8ed42 into main Nov 18, 2026
17 checks passed
@redeboer
redeboer deleted the adaptive-phsp-max-weight branch November 18, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 Bug Something isn't working 📝 Docs Improvements or additions to documentation 📖 Software About software development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Write a technical report on adaptive maximum weights in phase space generation

1 participant