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

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.2.0.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

pyrws-0.2.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file pyrws-0.2.0.tar.gz.

File metadata

  • Download URL: pyrws-0.2.0.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for pyrws-0.2.0.tar.gz
Algorithm Hash digest
SHA256 af5873a06cbbfd314f55671ae51a2530918bde0902f98c52e982dca6d0c7bbce
MD5 f863a7e0683d2d7ff2d8b37c86f400ea
BLAKE2b-256 9a8ade98deb8ecd1ce02a13455f311c058f420ae04b63a3b88134f8c584678c8

See more details on using hashes here.

File details

Details for the file pyrws-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyrws-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for pyrws-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a808e561fef20f4c0c8ae231d50d838160dd5e48d846b521508d8f9d36d0c442
MD5 13a8d39a7f9c45da8135798b96206762
BLAKE2b-256 9831f22fe80b523510f7022927f5060c9d667b8c11f9b0f1ba4d8cea8ca3fb04

See more details on using hashes here.

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