Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 14, 2025
1 parent b00dc3e commit 941536c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/usage/parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Lattice Elements
* ``<element_name>.dy`` (``float``, in meters) vertical translation error
* ``<element_name>.rotation`` (``float``, in degrees) rotation error in the transverse plane
* ``<element_name>.aperture_x`` (``float``, in meters) horizontal half-aperture (elliptical)
* ``<element_name>.aperture_y`` (``float``, in meters) vertical half-aperture (elliptical)
* ``<element_name>.aperture_y`` (``float``, in meters) vertical half-aperture (elliptical)
* ``<element_name>.nslice`` (``integer``) number of slices used for the application of space charge (default: ``1``)

* ``drift`` for a free drift. This requires these additional parameters:
Expand Down
2 changes: 1 addition & 1 deletion docs/source/usage/python.rst
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ This module provides elements for the accelerator lattice.
:param dy: vertical translation error in m
:param rotation: rotation error in the transverse plane [degrees]
:param aperture_x: horizontal half-aperture (elliptical) in m
:param aperture_y: vertical half-aperture (elliptical) in m
:param aperture_y: vertical half-aperture (elliptical) in m
:param nslice: number of slices used for the application of space charge
:param name: an optional name for the element

Expand Down

0 comments on commit 941536c

Please sign in to comment.