Skip to content

Commit 00f79fa

Browse files
authored
MAINT: bump to AmpForm v0.15.x (#519)
* 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
1 parent 37f8472 commit 00f79fa

File tree

10 files changed

+121
-174
lines changed

10 files changed

+121
-174
lines changed

.constraints/py3.10.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
absl-py==2.1.0
88
accessible-pygments==0.0.4
99
alabaster==0.7.16
10-
ampform==0.14.10
10+
ampform==0.15.0
1111
anyio==4.2.0
1212
argon2-cffi==23.1.0
1313
argon2-cffi-bindings==21.2.0
@@ -165,7 +165,7 @@ pytest-benchmark==4.0.0
165165
pytest-cov==4.1.0
166166
pytest-mock==3.12.0
167167
pytest-xdist==3.5.0
168-
python-constraint==1.4.0
168+
python-constraint==1.3.1
169169
python-dateutil==2.8.2
170170
python-json-logger==2.0.7
171171
python-lsp-jsonrpc==1.1.2

.constraints/py3.11.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
absl-py==2.1.0
88
accessible-pygments==0.0.4
99
alabaster==0.7.16
10-
ampform==0.14.10
10+
ampform==0.15.0
1111
anyio==4.2.0
1212
argon2-cffi==23.1.0
1313
argon2-cffi-bindings==21.2.0
@@ -164,7 +164,7 @@ pytest-benchmark==4.0.0
164164
pytest-cov==4.1.0
165165
pytest-mock==3.12.0
166166
pytest-xdist==3.5.0
167-
python-constraint==1.4.0
167+
python-constraint==1.3.1
168168
python-dateutil==2.8.2
169169
python-json-logger==2.0.7
170170
python-lsp-jsonrpc==1.1.2

.constraints/py3.8.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
absl-py==2.1.0
88
accessible-pygments==0.0.4
99
alabaster==0.7.13
10-
ampform==0.14.10
10+
ampform==0.15.0
1111
anyio==4.2.0
1212
argon2-cffi==23.1.0
1313
argon2-cffi-bindings==21.2.0
@@ -169,7 +169,7 @@ pytest-benchmark==4.0.0
169169
pytest-cov==4.1.0
170170
pytest-mock==3.12.0
171171
pytest-xdist==3.5.0
172-
python-constraint==1.4.0
172+
python-constraint==1.3.1
173173
python-dateutil==2.8.2
174174
python-json-logger==2.0.7
175175
python-lsp-jsonrpc==1.1.2

.constraints/py3.9.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
absl-py==2.1.0
88
accessible-pygments==0.0.4
99
alabaster==0.7.16
10-
ampform==0.14.10
10+
ampform==0.15.0
1111
anyio==4.2.0
1212
argon2-cffi==23.1.0
1313
argon2-cffi-bindings==21.2.0
@@ -166,7 +166,7 @@ pytest-benchmark==4.0.0
166166
pytest-cov==4.1.0
167167
pytest-mock==3.12.0
168168
pytest-xdist==3.5.0
169-
python-constraint==1.4.0
169+
python-constraint==1.3.1
170170
python-dateutil==2.8.2
171171
python-json-logger==2.0.7
172172
python-lsp-jsonrpc==1.1.2

benchmarks/ampform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def formulate_amplitude_model(
4949

5050
builder = ampform.get_builder(reaction)
5151
for name in reaction.get_intermediate_particles().names:
52-
builder.set_dynamics(name, create_relativistic_breit_wigner_with_ff)
52+
builder.dynamics.assign(name, create_relativistic_breit_wigner_with_ff)
5353
return builder.formulate()
5454

5555

0 commit comments

Comments
 (0)