Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 7, 2024
1 parent d006f5c commit 45789e6
Show file tree
Hide file tree
Showing 7 changed files with 68 additions and 185 deletions.
43 changes: 12 additions & 31 deletions docs/comparison/d2kkk.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"metadata": {
"tags": []
},
"metadata": {},
"source": [
"# D⁰ → K⁰ K⁺ K⁻\n",
"\n",
Expand Down Expand Up @@ -94,8 +92,7 @@
{
"cell_type": "markdown",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"source": [
"## Decay definition"
Expand Down Expand Up @@ -182,18 +179,15 @@
},
{
"cell_type": "markdown",
"metadata": {
"tags": []
},
"metadata": {},
"source": [
"## Model formulation"
]
},
{
"cell_type": "markdown",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"source": [
"### DPD model"
Expand Down Expand Up @@ -245,9 +239,7 @@
},
{
"cell_type": "markdown",
"metadata": {
"tags": []
},
"metadata": {},
"source": [
"There is an isobar Wigner-$d$ function, which takes the following helicity angles as argument:"
]
Expand All @@ -271,18 +263,15 @@
{
"cell_type": "markdown",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"source": [
"### AmpForm model"
]
},
{
"cell_type": "markdown",
"metadata": {
"tags": []
},
"metadata": {},
"source": [
"AmpForm does not formulate alignment Wigner-$D$ functions. For the case of this spinless final state, this means the intensity is the same as that of the [](#dpd-model)."
]
Expand Down Expand Up @@ -344,8 +333,7 @@
{
"cell_type": "markdown",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"source": [
"## Phase space sample"
Expand Down Expand Up @@ -392,9 +380,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"def generate_phase_space(reaction: ReactionInfo, size: int) -> dict[str, jnp.ndarray]:\n",
Expand All @@ -414,8 +400,7 @@
{
"cell_type": "markdown",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"source": [
"## Convert to numerical functions"
Expand All @@ -424,9 +409,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"def unfold_intensity(model: HelicityModel) -> sp.Expr:\n",
Expand All @@ -444,9 +427,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"ampform_func = perform_cached_lambdify(\n",
Expand Down
39 changes: 11 additions & 28 deletions docs/comparison/jpsi2phipipi.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"metadata": {
"tags": []
},
"metadata": {},
"source": [
"# J/ψ → φ(1020) π⁺ π⁻\n",
"\n",
Expand Down Expand Up @@ -94,8 +92,7 @@
{
"cell_type": "markdown",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"source": [
"## Decay definition"
Expand Down Expand Up @@ -182,18 +179,15 @@
},
{
"cell_type": "markdown",
"metadata": {
"tags": []
},
"metadata": {},
"source": [
"## Model formulation"
]
},
{
"cell_type": "markdown",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"source": [
"### DPD model"
Expand Down Expand Up @@ -238,9 +232,7 @@
},
{
"cell_type": "markdown",
"metadata": {
"tags": []
},
"metadata": {},
"source": [
"There is an isobar Wigner-$d$ function, which takes the following helicity angles as argument:"
]
Expand All @@ -264,8 +256,7 @@
{
"cell_type": "markdown",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"source": [
"### AmpForm model"
Expand Down Expand Up @@ -328,8 +319,7 @@
{
"cell_type": "markdown",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"source": [
"## Phase space sample"
Expand Down Expand Up @@ -376,9 +366,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"def generate_phase_space(reaction: ReactionInfo, size: int) -> dict[str, jnp.ndarray]:\n",
Expand All @@ -398,8 +386,7 @@
{
"cell_type": "markdown",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"source": [
"## Convert to numerical functions"
Expand All @@ -408,9 +395,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"def unfold_intensity(model: HelicityModel) -> sp.Expr:\n",
Expand All @@ -428,9 +413,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"ampform_func = perform_cached_lambdify(\n",
Expand Down
39 changes: 11 additions & 28 deletions docs/comparison/jpsi2pipipi.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"metadata": {
"tags": []
},
"metadata": {},
"source": [
"# J/ψ → π⁰ π⁺ π⁻\n",
"\n",
Expand Down Expand Up @@ -94,8 +92,7 @@
{
"cell_type": "markdown",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"source": [
"## Decay definition"
Expand Down Expand Up @@ -182,18 +179,15 @@
},
{
"cell_type": "markdown",
"metadata": {
"tags": []
},
"metadata": {},
"source": [
"## Model formulation"
]
},
{
"cell_type": "markdown",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"source": [
"### DPD model"
Expand Down Expand Up @@ -238,9 +232,7 @@
},
{
"cell_type": "markdown",
"metadata": {
"tags": []
},
"metadata": {},
"source": [
"There is an isobar Wigner-$d$ function, which takes the following helicity angles as argument:"
]
Expand All @@ -264,8 +256,7 @@
{
"cell_type": "markdown",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"source": [
"### AmpForm model"
Expand Down Expand Up @@ -328,8 +319,7 @@
{
"cell_type": "markdown",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"source": [
"## Phase space sample"
Expand Down Expand Up @@ -376,9 +366,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"def generate_phase_space(reaction: ReactionInfo, size: int) -> dict[str, jnp.ndarray]:\n",
Expand All @@ -398,8 +386,7 @@
{
"cell_type": "markdown",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"source": [
"## Convert to numerical functions"
Expand All @@ -408,9 +395,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"def unfold_intensity(model: HelicityModel) -> sp.Expr:\n",
Expand All @@ -428,9 +413,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"ampform_func = perform_cached_lambdify(\n",
Expand Down
11 changes: 3 additions & 8 deletions docs/jpsi2ksp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"metadata": {
"tags": []
},
"metadata": {},
"source": [
"# J/ψ → K⁰ Σ⁺ p̅\n",
"\n",
Expand Down Expand Up @@ -70,8 +68,7 @@
{
"cell_type": "markdown",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
"jp-MarkdownHeadingCollapsed": true
},
"source": [
"## Decay definition"
Expand Down Expand Up @@ -419,9 +416,7 @@
},
{
"cell_type": "markdown",
"metadata": {
"tags": []
},
"metadata": {},
"source": [
"## Dalitz plot"
]
Expand Down
Loading

0 comments on commit 45789e6

Please sign in to comment.