Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 483 Bytes

synchrotron_radiation.rst

File metadata and controls

12 lines (10 loc) · 483 Bytes

Synchrotron radiation

The following example illustrates the use of the synchrotron radiation in Xsuite. Explanations can be found in the comments interleaved in the code. For the considered case, the lattice is loaded from a MAD-X thick sequence and transformed in thin using the MAKETHIN command of MAD-X to obtain a thin sequence compatible with Xsuite.

.. literalinclude:: generated_code_snippets/radiation.py
   :language: python