Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT!: rename "polarization" to "polarimetry" #157

Merged
merged 1 commit into from
Aug 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 -->

Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion data/particle-definitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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^+
Expand Down
4 changes: 2 additions & 2 deletions docs/_relink_references.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
}

Expand Down
8 changes: 4 additions & 4 deletions docs/amplitude-model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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()"
]
Expand Down
12 changes: 6 additions & 6 deletions docs/appendix/alignment.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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()"
Expand Down
4 changes: 2 additions & 2 deletions docs/appendix/angles.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
{
Expand Down
Loading