Skip to content

Commit

Permalink
DOC: import simplify_latex_rendering from io
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Mar 17, 2024
1 parent 31d573e commit 9473f86
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
3 changes: 2 additions & 1 deletion docs/comparison/d2kkk.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion docs/comparison/jpsi2phipipi.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion docs/comparison/jpsi2pipipi.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
11 changes: 6 additions & 5 deletions docs/jpsi2ksp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions docs/lc2pkpi.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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()"
Expand Down

0 comments on commit 9473f86

Please sign in to comment.