Learn to build accelerator lattices, match their optics, and track particles with Xsuite. This tutorial explores electron storage-ring design and FCC-ee optics and beam–beam effects through Jupyter notebooks.
Setup instructions · Check your installation · Introduction slides
| Part | Format | Topics | Start here |
|---|---|---|---|
| 00 · Introduction | Tutor-led demonstrations | The Xtrack environment, lattice assembly, Twiss calculations and optics matching | Introduction notebooks |
| 01 · Synchrotron design and comparison | Student exercises | Build FODO and DBA rings; compare radiation equilibrium and dynamic aperture | Assignment |
| 02 · FCC-ee optics and beam–beam | Student exercises | Compare optics and alignment sensitivity; study beam–beam interactions and crab sextupoles | Assignment |
The tutors will show the 00 notebooks; students do not need to modify them. In 01 and 02, work through the numbered notebooks and complete the missing code.
- Synchrotron design: add RF and track with mean and quantum radiation; explore how quadrupole misalignments generate vertical emittance.
- FCC-ee: match optics with five times larger IP beta functions, distinct from the factor-eight optics supplied for the comparison exercises.
-
Follow the setup instructions and run the installation check.
-
Clone this repository, or download it using Code → Download ZIP:
git clone https://github.com/xsuite/tutorial_cas_nov_2026.git cd tutorial_cas_nov_2026 jupyter notebook -
Open a notebook in its tutorial folder and run its cells from top to bottom. Keep the supplied folder structure so the notebooks can find their input files.
For the synchrotron exercises, build and save the FODO and DBA rings before starting the radiation and tracking comparisons. The FCC-ee lattice and optics files are already supplied.
Each exercise set has a dedicated solution folder, including the input JSON files needed to run its notebooks:
- User’s guide — examples and workflows
- API reference — classes and methods
- Physics manual — models and equations
- GitHub — source code and issue tracker