Skip to main content

Python Package to Prepare Rigid Waist Shift Operations in the CCC.

Project description

PyRWS

GitHub last commit PyPI Version GitHub release DOI

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.

Installing

Installation is easily done via pip:

python -m pip install pyrws

Example Usage

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyrws-0.4.1.tar.gz (19.3 kB view hashes)

Uploaded Source

Built Distribution

pyrws-0.4.1-py3-none-any.whl (19.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page