Releases: ComPWA/ampform
Releases · ComPWA/ampform
AmpForm 0.15.6
See all documentation for this version here.
✨ New features
- Switch of expression caches with
NO_CACHE
environment variable (#454) - Implement
perform_cached_substitution()
for cached substitution of symbolic expressions (#454) - Set cache directory with
COMPWA_CACHE_DIR
(#454)
🐛 Bug fixes
- Fix
is_integer()
bug for QRules v0.10.4 (#450)
🔨 Maintenance
- Update lock files (#447)
The full changelog as commits can be found here.
AmpForm 0.15.5
See all documentation for this version here.
⚠️ Enhancements and optimizations
- Compute stable hash without need for
PYTHONHASHSED
(#444)
⚠️ API changes
- Change to Apache license (#432)
- Drop Python 3.7 & 3.8 support due to EOL (#440)
- Define dev dependencies as dependency groups (#441)
🔨 Maintenance
- Upgrade implementation to SymPy v1.13 (#435)
🖱️ Developer Experience
- Define developer environment with
uv
(#439)
The full changelog as commits can be found here.
AmpForm 0.15.4
AmpForm 0.15.3
AmpForm 0.15.2
See all documentation for this version here.
⚠️ Enhancements and optimizations
- Blatt–Weisskopf is now formulated with spherical Hankel function for arbitrary angular momentum (#418)
- Split latex expressions with
terms_per_line
argument inaslatex()
(#414)
✨ New features
- Implemented
FormFactor
expression class (#422)
⚠️ API changes
- URLs of the API page (ampform.rtfd.io) now end in
.html
again (#421)
🐛 Bug fixes
**kwargs
are now passed toaslatex
iterable implementation (#420)
📝 Documentation
_latex_repr_()
as method implementation to@unevaluated
is now explained with examples (#416)- Switched to author-year citation style (#419)
The full changelog as commits can be found here.
AmpForm 0.15.1
See all documentation for this version here.
⚠️ Enhancements and optimizations
- SymPy caches are now written to the user cache directory (#407)
- SymPy caches are written to a different path for different versions of SymPy (#409)
ampform.io.aslatex()
now accepts custom keywords arguments for downstream dispatch overwrites (#413)
📝 Documentation
- Added
versionadded
to function descriptions (#410) - Set correct widths and gammas in K-matrix widget (#408)
The full changelog as commits can be found here.
AmpForm 0.15.0
See all documentation for this version here.
⚠️ API changes
- Implement
SpinAlignment
interface (#306) - Deprecate
set_dynamics()
method (#305 and #400) - Remove
HelicityModel.sum_components()
(#304) - Extract
BuilderConfiguration
class (#303) - Rename isobar Wigner-D and CG functions (#302)
- Split
helicity
andkinematics
module (#301)
⚠️ Changes that may affect behavior
- Remove factor 16 pi from phsp factor (#403)
✨ New features
Implemented Dalitz-Plot Decomposition (#307)
Warning
Experimental: see #309
📝 Documentation
- Show unaligned amplitudes in spin alignment page (#321)
The full changelog as commits can be found here.
AmpForm 0.14.11
AmpForm 0.14.10
See all documentation for this version here.
✨ New features
- Added
UnevaluatableIntegral
class for numerical integration (#394)
⚠️ Enhancements and optimizations
- A warning is now raised if an
@unevaluated
class defines_latex_repr
instead of_latex_repr_
(#396)
🐛 Bug fixes
- Fixed latex rendering of certain
@unvevaluated
expression classes (#389)
📝 Documentation
- Updated links to the new compwa.github.io website (#387)
- Remove
.html
from page URLs on ampform.rtfd.io (#388) - Usage of the
argument()
function is now better documented (#396)
🔨 Maintenance
- Methods that are supposed to override methods of the base class are now marked with
@override
(#397) - Applied new Ruff preview linting and new
black
formatting (#395)
The full changelog as commits can be found here.
AmpForm 0.14.8
See all documentation for this version here.
⚠️ API changes
- Renamed
@unevaluated_expression()
decorator to@unevaluated()
(#379) - Arguments
z
andangular_momentum
have swapped inBlattWeisskopfSquared
--z
comes first (#375) n_events
argument is required inBoostZMatrix
,RotationYMatrix
, andRotationZMatrix
classes (#381)UnevaluatedExpression
template and related functions are now deprecated (#383)
⚠️ Enhancements and optimizations
- Add support for class attributes in
@unevaluated
expression classes (#375) - Add support for default arguments in
@unevaluated
expression classes (#376) - Add support to mark specific arguments to
@unevaluated
classes as non-sympiable (#380)
🐛 Bug fixes
- Sympify
@unevaluated
instance attributes (#374)
🔨 Maintenance
- Organize
@unevaluated
test functions (#377) - Implement all expression classes of the AmpForm library with
@unevaluated
(#382)
🖱️ Developer Experience
- Show reasons for skipping tests when running
pytest
(#378)
The full changelog as commits can be found here.