Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
c5143a9
Rename API reference docs section
jank324 Jul 3, 2026
78654bc
Merge branch 'master' into docs-structure-improvement
jank324 Jul 16, 2026
0a36cc7
docs: improve and extend documentation on space charge, optimization,…
jank324 Jul 16, 2026
491a002
docs: restructure into unified Getting Started guide and eliminate re…
jank324 Jul 16, 2026
34b3db1
docs: remove inline Bmad syntax example from lattice conversion guide
jank324 Jul 16, 2026
b678a3e
docs: spelling improvements
jank324 Jul 16, 2026
4f857d9
docs: replace batching/batch terminology with vectorisation
jank324 Jul 16, 2026
df916fa
docs: focus control system online example on DOOCS
jank324 Jul 16, 2026
c387cb3
docs: convert plotting/visualisation and vectorised simulations to ex…
jank324 Jul 16, 2026
f22775d
docs: rename lattice conversion to importing from other codes and add…
jank324 Jul 16, 2026
ac5b80c
docs: add particle species section to coordinate system guide
jank324 Jul 16, 2026
6109ac9
docs: add tracking methods guide to Getting Started
jank324 Jul 16, 2026
56e68ac
docs: add element-specific custom tracking methods section
jank324 Jul 16, 2026
ead01df
docs: add supported elements section with API reference links to home…
jank324 Jul 16, 2026
0a04bca
docs: add GPU and double precision config section to speed optimizati…
jank324 Jul 16, 2026
66d897a
docs: improve landing page layout and fix obsolete metadata docstring…
jank324 Jul 16, 2026
72fc7ab
docs: clarify that 3D meshes are for visualisation and not CAD models
jank324 Jul 16, 2026
ae484d0
docs: link contributor GitHub profiles in index.rst
jank324 Jul 16, 2026
e809454
docs: relocate getting started pages and notebooks to getting_started…
jank324 Jul 16, 2026
c70b020
docs: update docstrings for moved control_systems path
jank324 Jul 16, 2026
a191d93
docs: replace quad abbreviation with quadrupole in getting started ex…
jank324 Jul 16, 2026
aeb0c1b
docs: correct Elegant, openPMD, and Species method calls in guides
jank324 Jul 16, 2026
bbe48b0
docs: rename n_particles to num_particles in Twiss constructor example
jank324 Jul 16, 2026
24644f0
Run code formatting
jank324 Jul 16, 2026
fe72bd4
docs: run black on all Python code blocks in Markdown guides
jank324 Jul 16, 2026
7bce955
docs: promote LatticeJSON and openPMD to top of importing guide sections
jank324 Jul 16, 2026
bae902f
Remove example of using helper function for LatticeJSON loading and s…
jank324 Jul 16, 2026
90292f2
Merge branch 'master' into docs-structure-improvement
jank324 Jul 17, 2026
6f99b53
docs: integrate custom_elements notebook with black formatting and to…
jank324 Jul 17, 2026
2aaab62
docs: capitalize title in custom_elements notebook
jank324 Jul 17, 2026
e226560
Add a little bit of annotation to silkscreen for final order
jank324 Jul 17, 2026
de94a7a
Various manual cleanups
jank324 Jul 17, 2026
e88d64e
docs: convert simulation_optimization from markdown to notebook and i…
jank324 Jul 17, 2026
fbff8d5
docs: rename simulation_optimization to optimising_speed and update r…
jank324 Jul 17, 2026
f277995
Add changelog entry
jank324 Jul 20, 2026
91e49b0
Equation Prettier formatting fix (at least for some place where I fou…
jank324 Jul 20, 2026
a97bfd4
Minor formatting improvement in changelog
jank324 Jul 20, 2026
64ec356
`doocs4py` code fix suggested by @Hespe
jank324 Jul 20, 2026
bce197a
Improve tracking method bullet points
jank324 Jul 20, 2026
876557a
Merge branch 'docs-structure-improvement' of https://github.com/desy-…
jank324 Jul 20, 2026
1ca8600
Merge branch 'master' into docs-structure-improvement
jank324 Jul 20, 2026
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ distributions
docs/_build

dev*
*.glb
3 changes: 3 additions & 0 deletions .vscode/ltex.dictionary.en-GB.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,6 @@ EuXFEL
dtype
DOOCS
subclassing
backpropagation
autograd
paraxial
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

- Non-deterministic torch features now raise a warning in tests instead of a failure. This also fixes a test failure introduced by changes on the MPS backend in PyTorch 2.13. (see #655) (@Hespe, @jank324)
- Add example notebook on implementing custom elements to documentation (see #522) (@jank324)
- New _Getting Started_ guide in the documentation with a more comprehensive overview of Cheetah's features and capabilities etc. (see #651) (@jank324)

### 🌟 First Time Contributors

Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/aperture.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Aperture(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/bpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class BPM(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/cavity.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Cavity(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/combined_corrector.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class CombinedCorrector(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/custom_transfer_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class CustomTransferMap(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/dipole.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Dipole(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/drift.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Drift(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Element(ABC, nn.Module):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/horizontal_corrector.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class HorizontalCorrector(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/marker.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Marker(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/quadrupole.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Quadrupole(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/rbend.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class RBend(Dipole):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Screen(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Segment(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/sextupole.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Sextupole(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/solenoid.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Solenoid(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/space_charge_kick.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class SpaceChargeKick(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/superimposed.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Superimposed(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/transverse_deflecting_cavity.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class TransverseDeflectingCavity(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/undulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Undulator(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
2 changes: 1 addition & 1 deletion cheetah/accelerator/vertical_corrector.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class VerticalCorrector(Element):
:param metadata: Dictionary of arbitrary, serialisable annotations attached to the
element (e.g. control-system addresses or PVs). This information is *not* used
in simulation and may contain any extra data the user wants to store along with
the lattice. See :doc:`/examples/including_metadata` for more information.
the lattice. See :doc:`/getting_started/control_systems` for more information.
:param device: Device on which to create the element's tensors.
:param dtype: Data type of the element's tensors.
"""
Expand Down
1 change: 0 additions & 1 deletion docs/examples/.gitignore

This file was deleted.

Loading
Loading