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

DOC: build amplitude with K-matrix dynamics #278

Merged
merged 92 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
71c5e3f
DOC: import notebooks from https://github.com/ComPWA/K-matrix-research
May 22, 2024
40d11cf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 22, 2024
e018711
MAINT: update Python version in kernel
redeboer May 22, 2024
2005d2b
MAINT: address Ruff linting issues
redeboer May 22, 2024
b5df13a
MAINT: move `import` statements to top
redeboer May 22, 2024
683b239
DOC: integrate notebooks into TR infrastructure
redeboer May 22, 2024
526c4f4
FIX: import `create_dynamics_symbol()` from K-matrix-research
redeboer May 22, 2024
3718df9
FIX: import additional nstar definitions
redeboer May 22, 2024
8f0529a
MAINT: rename `additional-definitions.yml`
redeboer May 22, 2024
b6e7c20
DOC: fix cspell errors
redeboer May 22, 2024
0a561e1
FIX: install `jax` and `phasespace`
redeboer May 22, 2024
eb98b66
FIX: make notebooks runnable
redeboer May 22, 2024
e34a211
DOC: improve fake Nstar names
redeboer May 22, 2024
bd0cedf
ENH: use JAX as backend
redeboer May 22, 2024
80c0466
BEHAVIOR: generate data with F-vector instead of BW
redeboer May 22, 2024
49d349f
DOC: remove N* tables
redeboer May 22, 2024
0437e1b
MAINT: remove `slideshow` and `editable` notebook metadata
redeboer May 22, 2024
953cbb2
DOC: improve notebook rendering on website
redeboer May 22, 2024
271abc0
FIX: do not project to `imag` before Argand
redeboer May 23, 2024
1a3ad54
ENH: render plots as SVG
redeboer May 22, 2024
8546e61
MAINT: remove redundant cspell ignore
redeboer May 23, 2024
af5aca6
MAINT: clean up additional definitions file
redeboer May 23, 2024
0d87c86
MAINT: rename `epsilon` to `ε`
redeboer May 23, 2024
1762a39
FIX: get resonances from double loop
redeboer May 23, 2024
05da2af
FIX: filter with `\\beta` instead of `Dummy`
redeboer May 23, 2024
c60758b
ENH: make `coupling_pattern` argument oblicatory
redeboer May 23, 2024
779159e
BEHAVIOR: define ε offset outside sqrt
redeboer May 23, 2024
b57bc5b
ENH: switch Argand and phase plots
redeboer May 23, 2024
ed66683
MAINT: bundle plotting code in functions
redeboer May 23, 2024
e4d7b54
ENH: increase phase space size to 500,000 for plotting
redeboer May 23, 2024
391201f
DOC: improve TR description cards
redeboer May 23, 2024
6cde933
DOC: add TR tags to K-matrix reports
redeboer May 23, 2024
aa1da59
DOC: add TR tag `dynamics` to reports
redeboer May 23, 2024
e2002b7
DX: order parameters by quantum number and mass
redeboer May 23, 2024
7c90e19
BREAK: define fake N* inline with Python
redeboer May 23, 2024
b594482
BREAK: rename TR-030 to TR-033
redeboer May 23, 2024
0be0d29
BREAK: rename TR-031 to TR-030
redeboer May 23, 2024
11300bc
BREAK: rename TR-033 to TR-031
redeboer May 23, 2024
ac36975
MAINT: plot sub-intensity histograms with loop
redeboer May 23, 2024
50018d0
ENH: plot histograms with JAX
redeboer May 23, 2024
d5bfba9
FIX: correctly color resonance mass lines
redeboer May 23, 2024
6782e61
ENH: render x-axis in phase plot
redeboer May 23, 2024
f41842e
MAINT: remove redundant `resonances` definition
redeboer May 23, 2024
ce0a9ec
DOC: improve HTML rendering of TR-030 and TR-031
redeboer May 23, 2024
b13dfe5
MAINT: remove redundant dynamics functions TR-031
redeboer May 23, 2024
6c49852
ENH: set `use_cse=True`
redeboer May 23, 2024
7d8c9f3
ENH: improve fit result printing
redeboer May 23, 2024
787e268
ENH: use same masses and betas as starting paramters
redeboer May 23, 2024
a3820e7
ENH: print simple fit results, not full `iminuit` output
redeboer May 23, 2024
c6b7308
ENH: print parameter deviation
redeboer May 23, 2024
1acf3ff
ENH: print parameter deviation
redeboer May 23, 2024
7fc149c
ENH: improve legend position in comparison plot
redeboer May 23, 2024
eba8a13
ENH: use color cycler for resonance indicators
redeboer May 23, 2024
cbd427a
DOC: hide `compare_model()` definition cell
redeboer May 23, 2024
8d3b9a4
FIX: remove redundant `resonances` and `reaction_info` definitions
redeboer May 23, 2024
25bd0f7
ENH: remove `PARTICLE_DB` global
redeboer May 24, 2024
93217d9
MAINT(TR-032): move decay definition to top
redeboer May 24, 2024
f5807fd
MAINT(TR-032): define `DynamicsSymbolBuilder`
redeboer May 24, 2024
28d35cd
MAINT(TR-032): split `DECAYS` cell and move to relevant locations
redeboer May 24, 2024
2f93404
ENH(TR-032): collect `DECAYS` with function
redeboer May 24, 2024
1870a91
DOC(TR-032): improve rendering Phase space factor section
redeboer May 24, 2024
92573b2
MAINT(TR-032): remove redundant Breit-Wigner definition
redeboer May 24, 2024
ea3ca02
ENH(TR-032): remove redundant decay product mass definitions
redeboer May 24, 2024
c4cbfbe
MAINT(TR-032): make variable naming in builders
redeboer May 24, 2024
60e6ba1
ENH(TR-032): use `itertools.product` in `formulate_k_matrix()`
redeboer May 24, 2024
19a0f73
DOC(TR-032): improve section organization Amplitude model formulation
redeboer May 24, 2024
89d0c01
MAINT: remove `ChannelWidth` definition
redeboer May 24, 2024
bc3a2ea
MAINT: simplify `evaluate()` of `ChewMandelstam`
redeboer May 24, 2024
0117fc8
ENH: simplify LaTeX name of fake N* resonances
redeboer May 24, 2024
b818a0a
ENH: render particle name with unicode subscript
redeboer May 24, 2024
3bff6b4
MAINT: move expression unfolding to numerical function generation
redeboer May 24, 2024
99af9f5
ENH: define estimator sum with comprehension
redeboer May 24, 2024
290cded
ENH: remove redundant `display` statements
redeboer May 24, 2024
8e8960c
ENH(TR-032): compute histograms with JAX
redeboer May 24, 2024
14daa27
MAINT(TR-032): equalize notebook style with TR-031
redeboer May 24, 2024
ee34514
ENH: improve sub-section orderin in fit section
redeboer May 24, 2024
42eefdf
ENH(TR-032): remove `CSVSummary` callback
redeboer May 24, 2024
1b0a15d
DX(TR-032): assert if fit succeeded
redeboer May 24, 2024
4dfb58f
MAINT(TR-032): use list comprehensions
redeboer May 24, 2024
6afb6ea
FIX(TR-032): remove redundant `DataFrame` call
redeboer May 24, 2024
eaad1d2
FIX(TR-032): remove `m_0` etc from default parameters
redeboer May 24, 2024
00d2280
MAINT(TR-032): remove redundant `DYNAMICS_FUNCS_FVECTOR`
redeboer May 24, 2024
665493d
DOC(TR-032): improve section organization "Generate data"
redeboer May 24, 2024
56495fb
MAINT(TR-032): rename `epsilon` to `ε`
redeboer May 24, 2024
77df570
ENH(TR-032): set original parameters just before data generation
redeboer May 24, 2024
6bbc48b
DOC(TR-032): indicate thresholds in toy model parameter plot
redeboer May 24, 2024
85c6358
ENH(TR-032): improve coupling values for clearer Flatté effect
redeboer May 24, 2024
35c7554
ENH(TR-032): combine parameter comparison plot in one figure
redeboer May 24, 2024
dd57957
DOC: improve HTML rendering
redeboer May 24, 2024
3e2649a
MAINT: rename `new_parameters` to `toy_parameters`
redeboer May 24, 2024
d8f3684
MAINT: update notebook kernels of affected notebooks
redeboer May 24, 2024
1bf0249
FIX: do not fit `beta` in coupled fit
redeboer May 24, 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
8 changes: 8 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
"axhline",
"axvline",
"azim",
"bbox",
"bdist",
"bgcolor",
"boldsymbol",
Expand Down Expand Up @@ -214,6 +215,7 @@
"forall",
"framealpha",
"funcs",
"fvector",
"getitem",
"getsource",
"graphviz",
Expand All @@ -225,6 +227,7 @@
"heli",
"hepstats",
"histtype",
"hotpink",
"hoverinfo",
"hspace",
"hypotests",
Expand All @@ -242,12 +245,15 @@
"isinstance",
"isnan",
"isort",
"isospin",
"isrealobj",
"jaxlib",
"joinpath",
"jpsi",
"juliaup",
"jupyterlab",
"kernelspec",
"kmatrix",
"kutschke",
"lambdifier",
"lambdifygenerated",
Expand Down Expand Up @@ -295,6 +301,7 @@
"noreply",
"nrows",
"nsimplify",
"nstar",
"numpycode",
"operatorname",
"pandoc",
Expand Down Expand Up @@ -371,6 +378,7 @@
"toprettyxml",
"tqdm",
"treewise",
"twinx",
"unevaluatable",
"unsrt",
"venv",
Expand Down
2 changes: 2 additions & 0 deletions docs/report/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
002-*-graph
013-graph?
018-graph

!030/*.yml
3 changes: 2 additions & 1 deletion docs/report/000.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"cell_type": "markdown",
"metadata": {
"tags": [
"dynamics",
"lambdification",
"sympy"
]
Expand Down Expand Up @@ -917,7 +918,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
"version": "3.10.14"
},
"orphan": true
},
Expand Down
1 change: 1 addition & 0 deletions docs/report/004.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"cell_type": "markdown",
"metadata": {
"tags": [
"dynamics",
"physics"
]
},
Expand Down
2 changes: 2 additions & 0 deletions docs/report/005.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"cell_type": "markdown",
"metadata": {
"tags": [
"dynamics",
"K-matrix",
"physics"
]
},
Expand Down
2 changes: 2 additions & 0 deletions docs/report/009.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"cell_type": "markdown",
"metadata": {
"tags": [
"K-matrix",
"dynamics",
"physics",
"sympy"
]
Expand Down
2 changes: 2 additions & 0 deletions docs/report/010.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"cell_type": "markdown",
"metadata": {
"tags": [
"dynamics",
"K-matrix",
"physics",
"sympy"
]
Expand Down
4 changes: 3 additions & 1 deletion docs/report/025.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
{
"cell_type": "markdown",
"metadata": {
"tags": []
"tags": [
"K-matrix"
]
},
"source": [
"::::{margin}\n",
Expand Down
5 changes: 4 additions & 1 deletion docs/report/026.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
{
"cell_type": "markdown",
"metadata": {
"tags": []
"tags": [
"dynamics",
"K-matrix"
]
},
"source": [
"::::{margin}\n",
Expand Down
5 changes: 4 additions & 1 deletion docs/report/027.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
{
"cell_type": "markdown",
"metadata": {
"tags": []
"tags": [
"dynamics",
"K-matrix"
]
},
"source": [
"::::{margin}\n",
Expand Down
3 changes: 2 additions & 1 deletion docs/report/029.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"cell_type": "markdown",
"metadata": {
"tags": [
"PDG"
"dynamics",
"sympy"
]
},
"source": [
Expand Down
Loading
Loading