AmpForm 0.12.3
See all documentation for this version here.
💡 New features
🔨 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)
- All code examples are now clickable with links to corresponding reference documentation (also external links APIs) with
sphinx-codeautolink
. Closes ComPWA/compwa.github.io#106 - Updated to the first non-beta black release 22.1.0. Most important style effect: no space around power operator
**
.
🖱️ Developer Experience
Installed jupyterlab-myst for MyST editing in notebooks (#217)
Installed jupyterlab-myst