From baf0fa02e21a36280b6378425802302778a013b7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 00:33:50 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/source/usage/parameters.rst | 2 +- docs/source/usage/python.rst | 2 +- docs/source/usage/workflows/add_element.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/usage/parameters.rst b/docs/source/usage/parameters.rst index 5721b577b..336a2f197 100644 --- a/docs/source/usage/parameters.rst +++ b/docs/source/usage/parameters.rst @@ -351,7 +351,7 @@ Lattice Elements * ``linear_map`` for a custom, linear transport matrix. - The matrix elements :math:`R(i,j)` are indexed beginning with 1, so that :math:`i,j=1,2,3,4,5,6`. + The matrix elements :math:`R(i,j)` are indexed beginning with 1, so that :math:`i,j=1,2,3,4,5,6`. The transport matrix :math:`R` is defaulted to the identity matrix, so only matrix entries that differ from that need to be specified. The matrix :math:`R` multiplies the phase space vector :math:`(x,px,y,py,t,pt)`, where coordinates :math:`(x,y,t)` have units of m diff --git a/docs/source/usage/python.rst b/docs/source/usage/python.rst index fc4f21407..c80b099b8 100644 --- a/docs/source/usage/python.rst +++ b/docs/source/usage/python.rst @@ -618,7 +618,7 @@ This module provides elements for the accelerator lattice. The matrix elements :math:`R(i,j)` are indexed beginning with 1, so that :math:`i,j=1,2,3,4,5,6`. The transport matrix :math:`R` is defaulted to the identity matrix, so only matrix entries that differ from that need to be specified. - The matrix :math:`R` multiplies the phase space vector :math:`(x,px,y,py,t,pt)`, where coordinates :math:`(x,y,t)` have units of m + The matrix :math:`R` multiplies the phase space vector :math:`(x,px,y,py,t,pt)`, where coordinates :math:`(x,y,t)` have units of m and momenta :math:`(px,py,pt)` are dimensionless. So, for example, :math:`R(1,1)` is dimensionless, and :math:`R(1,2)` has units of m. :param R: a linear transport map to multiply with the the phase space vector :math:`(x,px,y,py,t,pt)`. diff --git a/docs/source/usage/workflows/add_element.rst b/docs/source/usage/workflows/add_element.rst index ff09320e8..c801b2a25 100644 --- a/docs/source/usage/workflows/add_element.rst +++ b/docs/source/usage/workflows/add_element.rst @@ -21,7 +21,7 @@ See the :ref:` example ` for Python and inputs file synta The matrix elements :math:`R(i,j)` are indexed beginning with 1, so that :math:`i,j=1,2,3,4,5,6`. The transport matrix :math:`R` is defaulted to the identity matrix, so only matrix entries that differ from that need to be specified. -The matrix :math:`R` multiplies the phase space vector :math:`(x,px,y,py,t,pt)`, where coordinates :math:`(x,y,t)` have units of m +The matrix :math:`R` multiplies the phase space vector :math:`(x,px,y,py,t,pt)`, where coordinates :math:`(x,y,t)` have units of m and momenta :math:`(px,py,pt)` are dimensionless. So, for example, :math:`R(1,1)` is dimensionless, and :math:`R(1,2)` has units of m.