Skip to content

AmpForm 0.10.4

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Aug 13:53
· 263 commits to main since this release
da323a7

Release 0.10.4

See all documentation for this version here.

💡 New features

Improved symplot.SliderKwargs class (#109)

Some minor changes that improve usage of symplot, but don't affect interface. Required for ComPWA/compwa.github.io#37.

  • Set step size (not number of steps) if n_steps is float in set_ranges
  • Un-hide _sliders and _arg_to_symbol attributes of SliderKwargs
Implemented symplot.substitute_indexed_symbols() function (#111)

Implementation of [TR-008] Indexed free symbols

Implemented symplot.partial_doit() function (#112)

Helper function for ComPWA/compwa.github.io#37

⚠️ Interface

Remove angular momentum projection from formulate_clebsch_gordan_coefficients (#102)

See #100 (comment)

🐛 Bug fixes

DOT is now wrapped in a figure (#106)

Fixes #105

Bit of a clumsy solution, using the figure directive, but I don't see another way around it...

Remove verify_signature function (#110)

This check makes the framework less flexible and the additional code is not worth the 'friendly' exception. It is required for ComPWA/compwa.github.io#37, where a special class PhaseSpaceFactor is inserted into coupled_width.

UnevaluatedExpr can now be instantiated with a doit argument (#113)

Previously, there something like BlattWeisskopfSquared(...).doit(deep=False) would crash. This fixes that behavior.

See also ComPWA/compwa.github.io#37

📝 Documentation

Extended docstrings of helicity and kinematics modules (#100)

Added several examples that explain the implementations in the helicity and kinematics modules.

A preview of the API can be viewed here:
https://ampform--100.org.readthedocs.build/en/100/api/ampform.html

Widen cell output where needed (#103)

Widen cells where their input and/or output is so wide that a horizontal scrollbar appears. This can be done with the full-width tag:
https://sphinx-book-theme.readthedocs.io/en/latest/layout.html#full-width-content

For instance:
image

versus (v0.10.3):
image

Documentation pages are wider now (#104)

Ignored panel css to increase main content width. Otherwise the main content ends up being weirdly small. See:

Old:
image

New:
image

Many thanks to @ianhi!

🖱️ Developer Experience

Switched to pre-commit.ci where possible (#107)

See ComPWA/qrules#87