From 9473f86f602ae5b06df27f33215e9a3a63a42ddd Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Sun, 17 Mar 2024 17:25:44 +0100 Subject: [PATCH] DOC: import `simplify_latex_rendering` from `io` --- docs/comparison/d2kkk.ipynb | 3 ++- docs/comparison/jpsi2phipipi.ipynb | 3 ++- docs/comparison/jpsi2pipipi.ipynb | 3 ++- docs/jpsi2ksp.ipynb | 11 ++++++----- docs/lc2pkpi.ipynb | 4 ++-- 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/docs/comparison/d2kkk.ipynb b/docs/comparison/d2kkk.ipynb index 6fbe4339..c20d9478 100644 --- a/docs/comparison/d2kkk.ipynb +++ b/docs/comparison/d2kkk.ipynb @@ -63,13 +63,14 @@ "from tensorwaves.data.rng import TFUniformRealNumberGenerator\n", "from tensorwaves.data.transform import SympyDataTransformer\n", "\n", - "from ampform_dpd import DalitzPlotDecompositionBuilder, simplify_latex_rendering\n", + "from ampform_dpd import DalitzPlotDecompositionBuilder\n", "from ampform_dpd.decay import IsobarNode, Particle, ThreeBodyDecay, ThreeBodyDecayChain\n", "from ampform_dpd.io import (\n", " as_markdown_table,\n", " aslatex,\n", " get_readable_hash,\n", " perform_cached_lambdify,\n", + " simplify_latex_rendering,\n", ")\n", "from ampform_dpd.spin import filter_parity_violating_ls, generate_ls_couplings\n", "\n", diff --git a/docs/comparison/jpsi2phipipi.ipynb b/docs/comparison/jpsi2phipipi.ipynb index 5ba37be4..515edad3 100644 --- a/docs/comparison/jpsi2phipipi.ipynb +++ b/docs/comparison/jpsi2phipipi.ipynb @@ -63,13 +63,14 @@ "from tensorwaves.data.rng import TFUniformRealNumberGenerator\n", "from tensorwaves.data.transform import SympyDataTransformer\n", "\n", - "from ampform_dpd import DalitzPlotDecompositionBuilder, simplify_latex_rendering\n", + "from ampform_dpd import DalitzPlotDecompositionBuilder\n", "from ampform_dpd.decay import IsobarNode, Particle, ThreeBodyDecay, ThreeBodyDecayChain\n", "from ampform_dpd.io import (\n", " as_markdown_table,\n", " aslatex,\n", " get_readable_hash,\n", " perform_cached_lambdify,\n", + " simplify_latex_rendering,\n", ")\n", "from ampform_dpd.spin import filter_parity_violating_ls, generate_ls_couplings\n", "\n", diff --git a/docs/comparison/jpsi2pipipi.ipynb b/docs/comparison/jpsi2pipipi.ipynb index b4bf06f2..eeb7de4c 100644 --- a/docs/comparison/jpsi2pipipi.ipynb +++ b/docs/comparison/jpsi2pipipi.ipynb @@ -63,13 +63,14 @@ "from tensorwaves.data.rng import TFUniformRealNumberGenerator\n", "from tensorwaves.data.transform import SympyDataTransformer\n", "\n", - "from ampform_dpd import DalitzPlotDecompositionBuilder, simplify_latex_rendering\n", + "from ampform_dpd import DalitzPlotDecompositionBuilder\n", "from ampform_dpd.decay import IsobarNode, Particle, ThreeBodyDecay, ThreeBodyDecayChain\n", "from ampform_dpd.io import (\n", " as_markdown_table,\n", " aslatex,\n", " get_readable_hash,\n", " perform_cached_lambdify,\n", + " simplify_latex_rendering,\n", ")\n", "from ampform_dpd.spin import filter_parity_violating_ls, generate_ls_couplings\n", "\n", diff --git a/docs/jpsi2ksp.ipynb b/docs/jpsi2ksp.ipynb index eb381860..91e45d43 100644 --- a/docs/jpsi2ksp.ipynb +++ b/docs/jpsi2ksp.ipynb @@ -42,13 +42,14 @@ "from tensorwaves.data.transform import SympyDataTransformer\n", "from tqdm.auto import tqdm\n", "\n", - "from ampform_dpd import (\n", - " DalitzPlotDecompositionBuilder,\n", - " _get_particle,\n", + "from ampform_dpd import DalitzPlotDecompositionBuilder, _get_particle\n", + "from ampform_dpd.decay import IsobarNode, Particle, ThreeBodyDecay, ThreeBodyDecayChain\n", + "from ampform_dpd.io import (\n", + " as_markdown_table,\n", + " aslatex,\n", + " perform_cached_lambdify,\n", " simplify_latex_rendering,\n", ")\n", - "from ampform_dpd.decay import IsobarNode, Particle, ThreeBodyDecay, ThreeBodyDecayChain\n", - "from ampform_dpd.io import as_markdown_table, aslatex, perform_cached_lambdify\n", "from ampform_dpd.spin import filter_parity_violating_ls, generate_ls_couplings\n", "\n", "if TYPE_CHECKING:\n", diff --git a/docs/lc2pkpi.ipynb b/docs/lc2pkpi.ipynb index 6823f4c6..91d726a5 100644 --- a/docs/lc2pkpi.ipynb +++ b/docs/lc2pkpi.ipynb @@ -33,10 +33,10 @@ "import sympy as sp\n", "from IPython.display import Latex, Markdown\n", "\n", - "from ampform_dpd import DalitzPlotDecompositionBuilder, simplify_latex_rendering\n", + "from ampform_dpd import DalitzPlotDecompositionBuilder\n", "from ampform_dpd.decay import IsobarNode, Particle, ThreeBodyDecay, ThreeBodyDecayChain\n", "from ampform_dpd.dynamics import BreitWignerMinL\n", - "from ampform_dpd.io import as_markdown_table, aslatex\n", + "from ampform_dpd.io import as_markdown_table, aslatex, simplify_latex_rendering\n", "from ampform_dpd.spin import filter_parity_violating_ls, generate_ls_couplings\n", "\n", "simplify_latex_rendering()"