AmpForm 0.10.4
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
isfloat
inset_ranges
- Un-hide
_sliders
and_arg_to_symbol
attributes ofSliderKwargs
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
versus (v0.10.3):
Documentation pages are wider now (#104)
Ignored panel css to increase main content width. Otherwise the main content ends up being weirdly small. See:
- https://github.com/executablebooks/sphinx-book-theme/blob/547cc95674623345124d9bbea9e15e5b5fa34d0e/docs/conf.py#L62
- https://sphinx-panels.readthedocs.io/en/latest/index.html?highlight=panels_add_bootstrap_css#sphinx-configuration
Many thanks to @ianhi!
🖱️ Developer Experience
Switched to pre-commit.ci where possible (#107)
See ComPWA/qrules#87