Skip to content

Commit

Permalink
MAINT: bump to AmpForm v0.15.x (#519)
Browse files Browse the repository at this point in the history
* DOC: remove `sum_components()` and plot fit fractions
* DOC: use `dynamics.assign() in notebooks
* FIX: use correct ComPWA website links
* MAINT: ignore AmpForm set_dynamics() deprecation warning
* MAINT: pin `python-constraints` to lower version for `uv`
* MAINT: use `dynamics.assign()` in tests
* MAINT: update link to QRules API
  • Loading branch information
redeboer authored Mar 7, 2024
1 parent 37f8472 commit 00f79fa
Show file tree
Hide file tree
Showing 10 changed files with 121 additions and 174 deletions.
4 changes: 2 additions & 2 deletions .constraints/py3.10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
absl-py==2.1.0
accessible-pygments==0.0.4
alabaster==0.7.16
ampform==0.14.10
ampform==0.15.0
anyio==4.2.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
Expand Down Expand Up @@ -165,7 +165,7 @@ pytest-benchmark==4.0.0
pytest-cov==4.1.0
pytest-mock==3.12.0
pytest-xdist==3.5.0
python-constraint==1.4.0
python-constraint==1.3.1
python-dateutil==2.8.2
python-json-logger==2.0.7
python-lsp-jsonrpc==1.1.2
Expand Down
4 changes: 2 additions & 2 deletions .constraints/py3.11.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
absl-py==2.1.0
accessible-pygments==0.0.4
alabaster==0.7.16
ampform==0.14.10
ampform==0.15.0
anyio==4.2.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
Expand Down Expand Up @@ -164,7 +164,7 @@ pytest-benchmark==4.0.0
pytest-cov==4.1.0
pytest-mock==3.12.0
pytest-xdist==3.5.0
python-constraint==1.4.0
python-constraint==1.3.1
python-dateutil==2.8.2
python-json-logger==2.0.7
python-lsp-jsonrpc==1.1.2
Expand Down
4 changes: 2 additions & 2 deletions .constraints/py3.8.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
absl-py==2.1.0
accessible-pygments==0.0.4
alabaster==0.7.13
ampform==0.14.10
ampform==0.15.0
anyio==4.2.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
Expand Down Expand Up @@ -169,7 +169,7 @@ pytest-benchmark==4.0.0
pytest-cov==4.1.0
pytest-mock==3.12.0
pytest-xdist==3.5.0
python-constraint==1.4.0
python-constraint==1.3.1
python-dateutil==2.8.2
python-json-logger==2.0.7
python-lsp-jsonrpc==1.1.2
Expand Down
4 changes: 2 additions & 2 deletions .constraints/py3.9.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
absl-py==2.1.0
accessible-pygments==0.0.4
alabaster==0.7.16
ampform==0.14.10
ampform==0.15.0
anyio==4.2.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
Expand Down Expand Up @@ -166,7 +166,7 @@ pytest-benchmark==4.0.0
pytest-cov==4.1.0
pytest-mock==3.12.0
pytest-xdist==3.5.0
python-constraint==1.4.0
python-constraint==1.3.1
python-dateutil==2.8.2
python-json-logger==2.0.7
python-lsp-jsonrpc==1.1.2
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/ampform.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def formulate_amplitude_model(

builder = ampform.get_builder(reaction)
for name in reaction.get_intermediate_particles().names:
builder.set_dynamics(name, create_relativistic_breit_wigner_with_ff)
builder.dynamics.assign(name, create_relativistic_breit_wigner_with_ff)
return builder.formulate()


Expand Down
Loading

0 comments on commit 00f79fa

Please sign in to comment.