This is a Python 3.8+
package that provides functionality to create Rigid Waist Shift Knobs to be used for for IR local coupling correction in the LHC commissioning 2022.
A bit more information can be found on the OMC website's page for the procedure.
See the API documentation for details.
Installation is easily done via pip
:
python -m pip install pyrws
The package is meant to be used at the command line.
python -m pyrws \
--sequence acc-models-lhc/lhc.seq \
--opticsfile acc-models-lhc/operation/optics/R2022a_A30cmC30cmA10mL200cm.madx \
--ip 1 \
--waist_shift_setting 1 \
--outputdir 30cm \
--energy 6800 \
--show_plots no \
Individual parts of the package can be imported to be used in a Python program, or as utilities to load and inspect the outputs of some knob generation. For details, see the API documentation website.
This project is licensed under the MIT License
- see the LICENSE file for details.