Skip to content

Commit

Permalink
MAINT!: rename "polarization" to "polarimetry" (#157)
Browse files Browse the repository at this point in the history
redeboer authored Aug 17, 2022
1 parent 1f1964c commit f8eedf7
Showing 39 changed files with 316 additions and 324 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Polarization sensitivity in Λc → pπK
# Aligned polarimetry field of the Λc → p π K decay

<!-- cspell:ignore semileptonic -->

@@ -14,7 +14,7 @@ It's recommended to develop this code base with [VSCode](https://code.visualstud

```shell
conda env create
conda activate polarization
conda activate polarimetry
```

Style checks are enforced with [Pre-commit](https://pre-commit.com). To activate for each commit, run:
2 changes: 1 addition & 1 deletion data/particle-definitions.yaml
Original file line number Diff line number Diff line change
@@ -136,7 +136,7 @@ K(1430):
width: 190
lineshape: BuggBreitWignerMinL

# https://github.com/ComPWA/polarization-sensitivity/blob/34f5330/julia/notebooks/model0.jl#L43-L47
# https://github.com/ComPWA/polarimetry/blob/34f5330/julia/notebooks/model0.jl#L43-L47
Sigma-:
latex: \Sigma^-
jp: 1/2^+
4 changes: 2 additions & 2 deletions docs/_relink_references.py
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
"Literal[(-1, 1)]": "typing.Literal",
"Literal[- 1, 1]": "typing.Literal",
"Literal[-1, 1]": "typing.Literal",
"OuterStates": "polarization.decay.OuterStates",
"OuterStates": "polarimetry.decay.OuterStates",
"ParametrizedBackendFunction": "tensorwaves.function.ParametrizedBackendFunction",
"Path": "pathlib.Path",
"Pattern": "typing.Pattern",
@@ -35,7 +35,7 @@
"sp.acos": "sympy.functions.elementary.trigonometric.acos",
}
__REF_TYPE_SUBSTITUTIONS = {
"polarization.decay.OuterStates": "obj",
"polarimetry.decay.OuterStates": "obj",
"tensorwaves.interface.DataSample": "obj",
}

8 changes: 4 additions & 4 deletions docs/amplitude-model.ipynb
Original file line number Diff line number Diff line change
@@ -32,10 +32,10 @@
"import sympy as sp\n",
"from IPython.display import Markdown, display\n",
"\n",
"from polarization.amplitude import simplify_latex_rendering\n",
"from polarization.io import as_markdown_table, display_latex\n",
"from polarization.lhcb import load_model_builder, load_model_parameters\n",
"from polarization.lhcb.particle import K, Λc, Σ, load_particles, p, π\n",
"from polarimetry.amplitude import simplify_latex_rendering\n",
"from polarimetry.io import as_markdown_table, display_latex\n",
"from polarimetry.lhcb import load_model_builder, load_model_parameters\n",
"from polarimetry.lhcb.particle import K, Λc, Σ, load_particles, p, π\n",
"\n",
"simplify_latex_rendering()"
]
12 changes: 6 additions & 6 deletions docs/appendix/alignment.ipynb
Original file line number Diff line number Diff line change
@@ -42,16 +42,16 @@
"from tensorwaves.function.sympy import create_function\n",
"from tqdm.auto import tqdm\n",
"\n",
"from polarization.amplitude import AmplitudeModel, simplify_latex_rendering\n",
"from polarization.data import create_data_transformer, generate_meshgrid_sample\n",
"from polarization.io import display_latex, mute_jax_warnings, perform_cached_doit\n",
"from polarization.lhcb import (\n",
"from polarimetry.amplitude import AmplitudeModel, simplify_latex_rendering\n",
"from polarimetry.data import create_data_transformer, generate_meshgrid_sample\n",
"from polarimetry.io import display_latex, mute_jax_warnings, perform_cached_doit\n",
"from polarimetry.lhcb import (\n",
" flip_production_coupling_signs,\n",
" load_model_builder,\n",
" load_model_parameters,\n",
")\n",
"from polarization.lhcb.particle import load_particles\n",
"from polarization.plot import use_mpl_latex_fonts\n",
"from polarimetry.lhcb.particle import load_particles\n",
"from polarimetry.plot import use_mpl_latex_fonts\n",
"\n",
"mute_jax_warnings()\n",
"simplify_latex_rendering()"
4 changes: 2 additions & 2 deletions docs/appendix/angles.ipynb
Original file line number Diff line number Diff line change
@@ -28,12 +28,12 @@
},
"outputs": [],
"source": [
"from polarization.amplitude.angles import (\n",
"from polarimetry.amplitude.angles import (\n",
" formulate_scattering_angle,\n",
" formulate_theta_hat_angle,\n",
" formulate_zeta_angle,\n",
")\n",
"from polarization.io import display_latex"
"from polarimetry.io import display_latex"
]
},
{
Loading

0 comments on commit f8eedf7

Please sign in to comment.