Automatically compensate cavity failures in linacs
Project description
LightWin
LightWin is a tool to automatically find compensation settings for cavity failures in linacs.
Installation
The full installation instructions are detailed here.
The steps are straightforward and can be summarized as follows:
- Create a dedicated Python environment.
- Run
pip install lightwin
If you want to edit the source code:
- Clone the repository:
git clone git@github.com:AdrienPlacais/LightWin.git
[!WARNING] If you
Download ZIPthis repository (which can happen if you don't have access togit), installation will fail at step #3. A workaround is proposed in the documentation.
- Create a dedicated Python environment.
- From LightWin folder:
pip install -e .[test] - Test that everything is working with
pytest -m "not tracewin and not implementation".
[!NOTE] If you are completely new to Python and these instructions are unclear, check this tutorial. In particular, you will want to:
- Install Python 3.12 or higher.
- Learn to use Python environments,
pipenvorvirtualenv.- Install a Python IDE such as Spyder or VSCode.
[!NOTE] Note that the TraceWin module will not work out of the box. You will need to tell LightWin were to find your TraceWin executables. See dedicated instructions.
Documentation
Documentation is now automatically built and hosted on Read the docs.
How to run
See here.
Example
See the data/example folder.
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 Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lightwin-0.13.5.tar.gz.
File metadata
- Download URL: lightwin-0.13.5.tar.gz
- Upload date:
- Size: 786.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
134414a081c41eb5197be11a92033334dfddf05122bbf46a65fc01784a409f72
|
|
| MD5 |
683eebd5bfa938e11b190e8800dddbfa
|
|
| BLAKE2b-256 |
dea507f191d10082e95194c0eb483bc86fff7aeb982b19d08a949bea16c13e86
|
Provenance
The following attestation bundles were made for lightwin-0.13.5.tar.gz:
Publisher:
release.yml on AdrienPlacais/LightWin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lightwin-0.13.5.tar.gz -
Subject digest:
134414a081c41eb5197be11a92033334dfddf05122bbf46a65fc01784a409f72 - Sigstore transparency entry: 729519033
- Sigstore integration time:
-
Permalink:
AdrienPlacais/LightWin@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Branch / Tag:
refs/tags/v0.13.5 - Owner: https://github.com/AdrienPlacais
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lightwin-0.13.5-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: lightwin-0.13.5-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 736.0 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30281a42416f014ab1cc04b6f9118a6e454f3968b9486ac9eef08978bb93ea52
|
|
| MD5 |
e25570b7ea74b095438a15a0e3657278
|
|
| BLAKE2b-256 |
d116f31da9bfa47d7d573d3831380a4c26888eeba33a2da1c2c1dfefcc79e599
|
Provenance
The following attestation bundles were made for lightwin-0.13.5-cp313-cp313-win_amd64.whl:
Publisher:
release.yml on AdrienPlacais/LightWin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lightwin-0.13.5-cp313-cp313-win_amd64.whl -
Subject digest:
30281a42416f014ab1cc04b6f9118a6e454f3968b9486ac9eef08978bb93ea52 - Sigstore transparency entry: 729519038
- Sigstore integration time:
-
Permalink:
AdrienPlacais/LightWin@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Branch / Tag:
refs/tags/v0.13.5 - Owner: https://github.com/AdrienPlacais
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lightwin-0.13.5-cp313-cp313-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: lightwin-0.13.5-cp313-cp313-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
801c9ff372c0d41e8da5ccce51efbca6065fe8ca8e4383df88111037948ad318
|
|
| MD5 |
3db5c86e62849c01a0919e88738695a7
|
|
| BLAKE2b-256 |
eae0693aa30001c44ff0cfeb237990e0aa52588eeb973789461a6ef30f7f845a
|
Provenance
The following attestation bundles were made for lightwin-0.13.5-cp313-cp313-musllinux_1_2_x86_64.whl:
Publisher:
release.yml on AdrienPlacais/LightWin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lightwin-0.13.5-cp313-cp313-musllinux_1_2_x86_64.whl -
Subject digest:
801c9ff372c0d41e8da5ccce51efbca6065fe8ca8e4383df88111037948ad318 - Sigstore transparency entry: 729519041
- Sigstore integration time:
-
Permalink:
AdrienPlacais/LightWin@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Branch / Tag:
refs/tags/v0.13.5 - Owner: https://github.com/AdrienPlacais
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lightwin-0.13.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: lightwin-0.13.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1a83aa32e43d67a707d2266a8bc430a83a68e0a7c4ed4d46caf69cd84a100e4
|
|
| MD5 |
b01677ab4603592de3f24536e472dd52
|
|
| BLAKE2b-256 |
e98dbfc4b5fbd3f1b69d2feacaa13dff2e843cd88665ecf1c4f9e2a4d2caa427
|
Provenance
The following attestation bundles were made for lightwin-0.13.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on AdrienPlacais/LightWin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lightwin-0.13.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
b1a83aa32e43d67a707d2266a8bc430a83a68e0a7c4ed4d46caf69cd84a100e4 - Sigstore transparency entry: 729519065
- Sigstore integration time:
-
Permalink:
AdrienPlacais/LightWin@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Branch / Tag:
refs/tags/v0.13.5 - Owner: https://github.com/AdrienPlacais
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lightwin-0.13.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: lightwin-0.13.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1aefb1a622b2417b20318c190523cbc4af0da787b273c611e02ac7d11994d362
|
|
| MD5 |
91b85feb69ba2fe78aaaee5a427f234f
|
|
| BLAKE2b-256 |
267c3b5e6a251c893f8ec7957005d821036bc522d01a42e702592fb28d230f2d
|
Provenance
The following attestation bundles were made for lightwin-0.13.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
release.yml on AdrienPlacais/LightWin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lightwin-0.13.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
1aefb1a622b2417b20318c190523cbc4af0da787b273c611e02ac7d11994d362 - Sigstore transparency entry: 729519079
- Sigstore integration time:
-
Permalink:
AdrienPlacais/LightWin@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Branch / Tag:
refs/tags/v0.13.5 - Owner: https://github.com/AdrienPlacais
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lightwin-0.13.5-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: lightwin-0.13.5-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 747.2 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
195ee8ec22bf36b5d967ae4d00f3022b13112e1a9e738aeec16d011d01cc856f
|
|
| MD5 |
bc6927a78a6ab6551052ddff8b554b50
|
|
| BLAKE2b-256 |
145cabb88d132fbc97021fc577d418d3cd62d693dbce27ca82ad5585f035b524
|
Provenance
The following attestation bundles were made for lightwin-0.13.5-cp313-cp313-macosx_11_0_arm64.whl:
Publisher:
release.yml on AdrienPlacais/LightWin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lightwin-0.13.5-cp313-cp313-macosx_11_0_arm64.whl -
Subject digest:
195ee8ec22bf36b5d967ae4d00f3022b13112e1a9e738aeec16d011d01cc856f - Sigstore transparency entry: 729519068
- Sigstore integration time:
-
Permalink:
AdrienPlacais/LightWin@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Branch / Tag:
refs/tags/v0.13.5 - Owner: https://github.com/AdrienPlacais
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lightwin-0.13.5-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: lightwin-0.13.5-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 735.8 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9ee79456cc22a48d84cb04201d926eac4f7ff33587f9ea9f3a28717b5db2607
|
|
| MD5 |
c874ffe42c5873919b800eb13a722f9f
|
|
| BLAKE2b-256 |
dd92a2929965547e8921cfaaad5b130790cf630301b44236f64218c4b71b95c3
|
Provenance
The following attestation bundles were made for lightwin-0.13.5-cp312-cp312-win_amd64.whl:
Publisher:
release.yml on AdrienPlacais/LightWin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lightwin-0.13.5-cp312-cp312-win_amd64.whl -
Subject digest:
b9ee79456cc22a48d84cb04201d926eac4f7ff33587f9ea9f3a28717b5db2607 - Sigstore transparency entry: 729519056
- Sigstore integration time:
-
Permalink:
AdrienPlacais/LightWin@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Branch / Tag:
refs/tags/v0.13.5 - Owner: https://github.com/AdrienPlacais
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lightwin-0.13.5-cp312-cp312-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: lightwin-0.13.5-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edb81510a0ad5e221b51e831cc6d224da1ae399270630a15ac0d930f7d2086d1
|
|
| MD5 |
31e0c6461c735479434477e981f65403
|
|
| BLAKE2b-256 |
1a27a6c3bc2fe2205980179bf9271f51ff3db2602e058137775d6d7b22537747
|
Provenance
The following attestation bundles were made for lightwin-0.13.5-cp312-cp312-musllinux_1_2_x86_64.whl:
Publisher:
release.yml on AdrienPlacais/LightWin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lightwin-0.13.5-cp312-cp312-musllinux_1_2_x86_64.whl -
Subject digest:
edb81510a0ad5e221b51e831cc6d224da1ae399270630a15ac0d930f7d2086d1 - Sigstore transparency entry: 729519070
- Sigstore integration time:
-
Permalink:
AdrienPlacais/LightWin@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Branch / Tag:
refs/tags/v0.13.5 - Owner: https://github.com/AdrienPlacais
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lightwin-0.13.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: lightwin-0.13.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
deac0260b80366022be1dac88f2122816fb48a278b0be646e32b1ca4d4334c96
|
|
| MD5 |
f0328901b100c738bc31182b488f0e06
|
|
| BLAKE2b-256 |
53bbae8b739fcb463fb681378cda0128dba6351be48be11b001c51159e5719fd
|
Provenance
The following attestation bundles were made for lightwin-0.13.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on AdrienPlacais/LightWin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lightwin-0.13.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
deac0260b80366022be1dac88f2122816fb48a278b0be646e32b1ca4d4334c96 - Sigstore transparency entry: 729519046
- Sigstore integration time:
-
Permalink:
AdrienPlacais/LightWin@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Branch / Tag:
refs/tags/v0.13.5 - Owner: https://github.com/AdrienPlacais
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lightwin-0.13.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: lightwin-0.13.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a5d8d538e9414f6d5d23cb40867dd4af76de6891c62cf88349134791922c77c
|
|
| MD5 |
b00c9c23c93deb2c03b5486614631df2
|
|
| BLAKE2b-256 |
87b1e976bc00b2aab7bd7f35a5e94f735322c04ab1bd096a161bc18071475a53
|
Provenance
The following attestation bundles were made for lightwin-0.13.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
release.yml on AdrienPlacais/LightWin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lightwin-0.13.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
3a5d8d538e9414f6d5d23cb40867dd4af76de6891c62cf88349134791922c77c - Sigstore transparency entry: 729519058
- Sigstore integration time:
-
Permalink:
AdrienPlacais/LightWin@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Branch / Tag:
refs/tags/v0.13.5 - Owner: https://github.com/AdrienPlacais
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lightwin-0.13.5-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: lightwin-0.13.5-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 747.7 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29718ddb5cbe81aa8533b4522e9b2215810971fcb54ac9f6d57629e9e426d2c2
|
|
| MD5 |
64f1d0d6f62382768eee8f9a8737fe96
|
|
| BLAKE2b-256 |
0f796cef263314cb3d696d3dee4a56e2f017dba16cd043b97812ae4670dd5f0f
|
Provenance
The following attestation bundles were made for lightwin-0.13.5-cp312-cp312-macosx_11_0_arm64.whl:
Publisher:
release.yml on AdrienPlacais/LightWin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lightwin-0.13.5-cp312-cp312-macosx_11_0_arm64.whl -
Subject digest:
29718ddb5cbe81aa8533b4522e9b2215810971fcb54ac9f6d57629e9e426d2c2 - Sigstore transparency entry: 729519052
- Sigstore integration time:
-
Permalink:
AdrienPlacais/LightWin@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Branch / Tag:
refs/tags/v0.13.5 - Owner: https://github.com/AdrienPlacais
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@19d68c68c87d270680b2d51a9aed17bf7d39d5e5 -
Trigger Event:
push
-
Statement type: