Useful tools in particular for accelerator physicists at CERN
Project description
PyLHC Tools
This is the python-tool package of the optics measurements and corrections group (OMC).
If you are not part of that group, you will most likely have no use for the codes provided here, unless you have a 9km wide accelerator at home. Feel free to use them anyway, if you wish!
Documentation
- Autogenerated docs via
sphinx
can be found on https://pylhc.github.io/PyLHC/. - General documentation of the OMC-Teams software on https://twiki.cern.ch/twiki/bin/view/BEABP/OMC
Getting Started
Prerequisites
The codes use a multitude of packages as can be found in the requirements.txt.
Important ones are: numpy
, pandas
and scipy
.
Installing
This package is not deployed, hence you need to use the standard git-commands to get a local copy.
Description
This package provides tools which can be useful for working with accelerators, but are not neccessary for optics measurements analysis.
The latter tools can be found in OMC3 (Python 3.6) or Beta-Beat.src (Python 2.7)
Functionality
- Machine Settings Info - Prints an overview over the machine settings at a given time. (machine_settings_info.py)
Tests
- Pytest unit tests are run automatically after each commit via Travis-CI.
Maintainability
-
Additional checks for code-complexity, design-rules, test-coverage, duplication on CodeClimate
-
Direct commits to master are forbidden.
Authors
- pyLHC/OMC-Team - Working Group - pyLHC
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pylhc-0.0.1.tar.gz
.
File metadata
- Download URL: pylhc-0.0.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28d4b2ebd3d3dc3f09c1a0f36846fed7b314fb5a24a61d0f0f61de4bca7bd49b |
|
MD5 | 059704fb818a24ec444974c8234c0558 |
|
BLAKE2b-256 | ce103ef40494cef9444c3d2b4a6e5276464eb9f0f0c1a85defe4182e0a49f1ce |
File details
Details for the file pylhc-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pylhc-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70585f6f3a81e95fd31666dc9a6ccaa7857d8ce7971575db01db5c4003cd6032 |
|
MD5 | 2dcddc479a915744a7f1426b0377fa1c |
|
BLAKE2b-256 | 18efe4765abe7e86a23c3edca57095cac909223011b8041d5352cbb5f495f55b |