Background:
Sextupole magnets are used to perform higher order corrections to the electron beam in FACET-II. Proper sextupole alignment is crucial to ensure that these corrections can be perfornmed precisely without introducing unwanted energy-dependant properties to the beam.
Research Paper:
Code:
UTILITY_waist.py – Functions to allow Beam Waist to be calculated, plotted, and optimized as well as to calculate chromaticity.
UTILITY_setLattice.py – Nathan Majernik's Utility functions that allow FACET-II BMAD lattice to be altered with the addition of a function that allows sextupole offsets to be chnaged
https://github.com/Mstob123/FACET-II-BMAD-Code: All code can be found in this repository, the walkthrough notebook explains the relevant features