Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: implement model deserialization #132

Merged
merged 43 commits into from
May 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
bb13735
MAINT: import `Lc2ppiK.json` from RUB-EP1/amplitude-serialization@334…
redeboer May 20, 2024
d4f456f
DOC: add skeleton serialization notebook
redeboer May 20, 2024
02c2bef
DOC: load kinematics section
redeboer May 20, 2024
4b38ac9
ENH: support undefined `Particle.parity`
redeboer May 20, 2024
6f55022
ENH: hide LS columns if undefined
redeboer May 20, 2024
0be4c73
DOC: define `to_decay()` function for deserialization
redeboer May 20, 2024
4a871e3
MAINT: update model definition from RUB-EP1/amplitude-serialization@8…
redeboer May 20, 2024
08e27bc
FEAT: define `DefinedExpression` struct
redeboer May 20, 2024
93cb5cd
BREAK: remove `ampform_dpd.simplify_latex_rendering()` alias
redeboer May 20, 2024
6a7e31d
DOC: build amplitudes with dynamics
redeboer May 20, 2024
c5890bc
ENH: implement `aslatex()` for `DefinedExpression`
redeboer May 20, 2024
ce0aa75
FEAT: implement model serialization (validation fails)
redeboer May 20, 2024
7ac4136
ENH: render L in energy-dependent width
redeboer May 20, 2024
526e9eb
MAINT: convert `io` to subpackage
redeboer May 20, 2024
2146562
FEAT: implement `serialization.decay` module
redeboer May 20, 2024
497193f
FEAT: implement standard Breit-Wigner expressions
redeboer May 20, 2024
d4449e0
DX: add tests for `get_function_definition`
redeboer May 20, 2024
46803a8
FEAT: implement `dynamics` module
redeboer May 20, 2024
55d54ab
BREAK: improve organization `format` and `decay` module
redeboer May 20, 2024
6927057
FEAT: implement `amplitude` module
redeboer May 20, 2024
07b3260
DOC: remove markdown table for decay
redeboer May 20, 2024
a8cf5a0
DOC: split lines in amplitude rendering
redeboer May 21, 2024
00a0ac1
FIX: make `MultichannelBreitWigner` immutable
redeboer May 21, 2024
88b22e4
FIX: write latex resonance names in weights
redeboer May 21, 2024
74ff70d
FIX: improve symbol assumptions
redeboer May 21, 2024
641c809
FIX: insert widths into definitions
redeboer May 21, 2024
73221d9
BREAK: make `ChannelArguments` an expression class
redeboer May 21, 2024
b297eb1
BEHAVIOR: write weight as `Symbol` not `Indexed`
redeboer May 21, 2024
3effb9b
ENH: show reason for `assert` failure
redeboer May 21, 2024
c13280d
FIX: avoid overwriting chain amplitudes
redeboer May 21, 2024
ad6c364
FIX: use `typing.List` in type alias
redeboer May 21, 2024
e74cf7f
FIX: set correct builder signature
redeboer May 21, 2024
3bb1610
FIX: downgrade to AmpForm v0.15.1
redeboer May 21, 2024
d72cced
FIX: use `Tuple` in type alias definition
redeboer May 21, 2024
2c29ea0
ENH: upgrade to AmpForm v0.15.4
redeboer May 22, 2024
c8133e2
Merge branch 'main' into model-serialization
redeboer May 26, 2024
139505c
MAINT: remove empty `test_dynamics.py`
redeboer May 26, 2024
0c397e1
DOC: hide caching warnings
redeboer May 26, 2024
507066a
DX: limit number of rendered amplitudes in notebook
redeboer May 26, 2024
83b6983
DOC: add preview warning for `ampform_dpd.io.serialization`
redeboer May 26, 2024
8c2f05d
MAINT: import `Lc2ppiK.json` from RUB-EP1/amplitude-serialization@678…
redeboer May 26, 2024
6f2d987
FIX: update link to `serialization` notebook
redeboer May 26, 2024
9d3c873
FIX: fix `mode` -> `mod` typo
redeboer May 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"PyPI",
"absl",
"arange",
"asdict",
"asdot",
"aslatex",
"autoscale",
Expand All @@ -51,15 +52,20 @@
"colorbar",
"commitlint",
"concat",
"costheta",
"difflib",
"docnb",
"elif",
"endswith",
"eqnarray",
"eqref",
"figsize",
"fontsize",
"formfactor",
"funcs",
"gcov",
"graphviz",
"imag",
"ipykernel",
"ipynb",
"ipython",
Expand All @@ -84,6 +90,7 @@
"nbformat",
"ncols",
"ndarray",
"noqa",
"noreply",
"nrows",
"pandoc",
Expand All @@ -103,6 +110,7 @@
"savefig",
"sdist",
"seealso",
"setattr",
"setuptools",
"sharey",
"simplefilter",
Expand Down Expand Up @@ -156,6 +164,8 @@
"pytest",
"PYTHONHASHSEED",
"QRules",
"recoupling",
"recouplings",
"sympify",
"SymPy",
"TensorWaves",
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ repos:
- --extra-keys
- |
cell.attachments
cell.id
cell.metadata.code_folding
cell.metadata.editable
cell.metadata.id
Expand Down
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.json
*.zip
/api/
!*.json
Loading
Loading