Skip to content

Commit

Permalink
MAINT: merge Markdown cells (apart from headings)
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Jun 1, 2023
1 parent 98be67d commit 6dfb858
Showing 1 changed file with 10 additions and 35 deletions.
45 changes: 10 additions & 35 deletions docs/amplitude-analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -321,13 +321,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"In the next steps, we use this {class}`~ampform.helicity.HelicityModel` as a template for a computational function to [generate data](compwa-step-2) and to [perform a fit](compwa-step-3)."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"In the next steps, we use this {class}`~ampform.helicity.HelicityModel` as a template for a computational function to [generate data](compwa-step-2) and to [perform a fit](compwa-step-3).\n",
"\n",
":::{tip}\n",
"\n",
"See more advanced examples on {doc}`AmpForm's usage page <ampform:usage>`.\n",
Expand Down Expand Up @@ -530,24 +525,14 @@
"\n",
"If {func}`.create_parametrized_function` takes a long time, have a look at {doc}`usage/faster-lambdify`.\n",
"\n",
":::"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
":::\n",
"\n",
":::{seealso}\n",
"\n",
"{ref}`usage/basics:Hit & miss`\n",
"\n",
":::"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
":::\n",
"\n",
"A problem is that {class}`.ParametrizedBackendFunction` takes a {obj}`.DataSample` with kinematic variables for the helicity formalism as input, not a set of four-momenta. We therefore need to construct a {class}`.DataTransformer` to transform these four-momenta to function variables. In this case, we work with the helicity formalism, so we construct a {class}`.SympyDataTransformer`:"
]
},
Expand All @@ -572,13 +557,8 @@
"\n",
"{ref}`usage:Generate and transform data`\n",
"\n",
":::"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
":::\n",
"\n",
"That's it, now we have enough info to create an intensity-based data sample. Notice how the structure of the output data is the same as the [phase-space sample we generated previously](compwa-step-2.1):"
]
},
Expand Down Expand Up @@ -685,13 +665,8 @@
"class: dropdown\n",
"---\n",
"By default, {mod}`tensorwaves` only generates invariant masses of the {class}`Topologies <qrules.topology.Topology>` that are of relevance to the decay problem. In this case, we only have resonances $f_0 \\to \\pi^0\\pi^0$. If you are interested in more invariant mass combinations, you can do so with the method {meth}`~ampform.kinematics.HelicityAdapter.register_topology`.\n",
"````"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"````\n",
"\n",
"The {obj}`.DataSample` can easily be converted to a {class}`pandas.DataFrame`:"
]
},
Expand Down

0 comments on commit 6dfb858

Please sign in to comment.