Skip to content

AmpForm 0.12.3

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Jan 12:35
· 168 commits to main since this release
52990a7

See all documentation for this version here.

💡 New features

Implemented scalar initial state mass switch (#214)

Follow-up to #197. See usage here.

🔨 Internal maintenance

Simplified numpy.einsum in ArrayMultiplication numpification (#218)

ArrayMultiplication lambdified to a recursive call to einsum(), which results in larger lambdified code. This PR lambdifies the code to an einsum path, e.g. ...ij,...jk->...i.

Upgraded to QRules v0.9.6 (#219)

See release notes QRules v0.9.6. Required for a consistent determination of opposite helicity states, see #212.

Note that this can change helicity angle labels! See a324c9e

📝 Documentation

Cleaned up kinematics module API (#211)

Preview here. Compare to v0.12.2.

  • Definitions in the API are follow the sorting of the source code.
  • Hidden the classes for SymPy ArraySymbols by moving them to ampform.sympy._array_expresssions.
  • Added docstrings to all remaining classes, like BoostZ.
  • Improved the docs/_extend_docstrings.py script.
  • Hidden several methods and attributes that come from sympy.Basic.
  • See commit history for other changes.
Documentation on RTD is now built on Python 3.8 (#215)

sphinx-apidoc does not render the docstring for the FourMomentumSymbol type alias (#211) when running on Python 3.7. See for instance the API preview of the latest PR. The docstring is correctly rendered when building with Python 3.8, see preview here.

Note: RTD for QRules also switched to Python 3.8 in ComPWA/qrules#136.

Code example are now automatically clickable with links to reference documentation (#217 and #220)

🖱️ Developer Experience

Installed jupyterlab-myst for MyST editing in notebooks (#217)

Installed jupyterlab-myst