PyLHC Tools
This package provides tools for particle accelerator physics complementing the optics measurement analysis tools of the omc3 package. It is a collection of useful scripts for the Optics Measurements and Corrections team (OMC) at CERN, with functionality for data analysis, corrections calculation, simulations management and machine information extraction.
Documentation
- Autogenerated docs via
Sphinxcan be found at https://pylhc.github.io/PyLHC/. - General documentation of the OMC-Team is located at https://pylhc.github.io/
Installing
This package is Python 3.7+ compatible, and can be installed through pip:
python -m pip install pylhc
After installing, scripts can be run with either python -m pylhc.SCRIPT --FLAG ARGUMENT or by calling the Python files directly.
For development purposes, we recommend creating a new virtual environment and installing from VCS in editable mode with all extra dependencies:
git clone https://github.com/pylhc/pylhc
python -m pip install --editable "pylhc[all]"
Note: Some scripts access functionality only available on the CERN Technical Network.
To use those, you should make sure to install the relevant extra dependencies with python -m pip install "pylhc[cern]".
Functionality
Forced DA Analysis- Script to analyze forced DA. (forced_da_analysis.py)Machine Settings Info- Prints an overview over the machine settings at a given time. (machine_settings_info.py)KickGroup Information- Get information about KickGroups. (kickgroups.py)BSRT LoggerandBSRT Analysis- Saves data coming straight from LHC BSRT FESA class and allows subsequent analysis. (bsrt_logger.py & bsrt_analysis.py )BPM Calibration Factors- Compute the BPM calibration factors using ballistic optics. Two methods are available: using the beta function and using the dispersion. (bpm_calibration.py)
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for pylhc 0.8.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pylhc-0.8.4.tar.gz | 54.0 kB | Without provenance | Details for pylhc-0.8.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pylhc-0.8.4-py3-none-any.whl | Python 3 | none | any | Details for pylhc-0.8.4-py3-none-any.whl |
Total release size: 111.2 kB
Release files / pylhc-0.8.4.tar.gz
| Download URL | pylhc-0.8.4.tar.gz |
|---|---|
| Size | 54.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b51a4a4fd4bc19d0f1c45cc6f1d873b00e5fef92ee1b04a89db5813d8841e9e4
|
|
BLAKE2b-256 checksum How to use checksums |
113efab85df650999796332ea4aea2f166520edd8458bb07c807e10844963a41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pylhc-0.8.4-py3-none-any.whl
| Download URL | pylhc-0.8.4-py3-none-any.whl |
|---|---|
| Size | 57.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27efde4c2f339b9e38c864f2922dbe90e976990505b16ad3980ce524625d80c2
|
|
BLAKE2b-256 checksum How to use checksums |
fdb447437a8b4305065d8ee45660e686489b5a60aafa0e442a556c5486f82cd5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for pylhc 0.8.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.