Skip to main content

Automatically compensate cavity failures in linacs

Project description

Py versions PyPi Pytest Documentation status pre-commit.ci status License: MIT Code style: black Imports: isort

LightWin

LightWin is a tool to automatically find compensation settings for cavity failures in linacs.

Installation

The full installation instructions are detailed in the documentation.

The steps are straightforward and can be summarized as follows:

Users

  1. Create a dedicated Python environment.
  2. Run pip install lightwin[cython]

Developers

  1. Clone the repository: git clone git@github.com:AdrienPlacais/LightWin.git

[!WARNING] If you Download ZIP this repository (which can happen if you don't have access to git), installation will fail at step #3. A workaround is proposed in the documentation.

  1. Create a dedicated Python environment.
  2. From LightWin folder: pip install -e .[test, cython]
  3. 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:

  1. Install Python 3.12 or higher.
  2. Learn to use Python environments, pipenv or virtualenv.
  3. 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 documentation.

Example

See the data/example folder.

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

lightwin-0.14.1.tar.gz (999.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

lightwin-0.14.1-cp313-cp313-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.13Windows x86-64

lightwin-0.14.1-cp313-cp313-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

lightwin-0.14.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

lightwin-0.14.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

lightwin-0.14.1-cp313-cp313-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

lightwin-0.14.1-cp312-cp312-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.12Windows x86-64

lightwin-0.14.1-cp312-cp312-musllinux_1_2_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

lightwin-0.14.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

lightwin-0.14.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

lightwin-0.14.1-cp312-cp312-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file lightwin-0.14.1.tar.gz.

File metadata

  • Download URL: lightwin-0.14.1.tar.gz
  • Upload date:
  • Size: 999.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lightwin-0.14.1.tar.gz
Algorithm Hash digest
SHA256 6a940056417a7a61ea3ea9141cc8be168d7750d0622d2e6f1e7e0b365880a9f2
MD5 039cf42b7166f7cf4d83a5be546c27cc
BLAKE2b-256 799b56b04625aa6c2fa5ef77b74cdc7419d3f2f82f55ad0878663572b0feabde

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightwin-0.14.1.tar.gz:

Publisher: release.yml on AdrienPlacais/LightWin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lightwin-0.14.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: lightwin-0.14.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lightwin-0.14.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 db3305ea4b8d00d08f2f8dfa64ad4ba3e727fa228f1c9e473cc5714901361d9e
MD5 b303f08da9f10d91433a1ff393096c95
BLAKE2b-256 4e9c59aaf2f0e083a9885ed637ca846be14c61bc56caab8b0fd97e9d989a2850

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightwin-0.14.1-cp313-cp313-win_amd64.whl:

Publisher: release.yml on AdrienPlacais/LightWin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lightwin-0.14.1-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for lightwin-0.14.1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 71f6cd0cd00b06dd204c54a9a8d4eee5995cd9c7654304de59f6325dba2b2520
MD5 b6ed1e45ffe0ec3f3eeb4d4841d8a216
BLAKE2b-256 480040b6f6807626a02868d6282c3ee57e0855a5371b9ef294a0a4e2cd4b320a

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightwin-0.14.1-cp313-cp313-musllinux_1_2_x86_64.whl:

Publisher: release.yml on AdrienPlacais/LightWin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lightwin-0.14.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lightwin-0.14.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f8ae7980c3c3915847429d097871fc212c0da78ba3ef1944f00f826896831d91
MD5 9aed85446bc544d7765d5b2df0802820
BLAKE2b-256 76c683e03a5019674e6181d19da8c4357b40d63fac8ae77f24964b1916ec7fa5

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightwin-0.14.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on AdrienPlacais/LightWin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lightwin-0.14.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for lightwin-0.14.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 37e199e296e5ff83853b89324457df10b69c4b5244a0cd7428dc988cf77b1572
MD5 2fb2c13e7d648348316d71a49d31856b
BLAKE2b-256 0b8749c6fa38c9bb88806a46def98d10300b7fcf4c2beb478a8dab6949d5e4c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightwin-0.14.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on AdrienPlacais/LightWin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lightwin-0.14.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lightwin-0.14.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 36f06e5fcdc4e3d926fc70667afb1018cecd1778118f4b55dd8ca178354283f6
MD5 c47a5cea462236cca06d9d651b4ff795
BLAKE2b-256 4211354efedf36d10454ccd729c9643019bcbce48a01c4e81a6d21488d2f7f01

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightwin-0.14.1-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: release.yml on AdrienPlacais/LightWin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lightwin-0.14.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: lightwin-0.14.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lightwin-0.14.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6f9cb4ac4046bdae7d6f19543a3a796a817a648f4468a7588f53eb50d334c52b
MD5 d7e69c56e136f93710eb8227caf55b0b
BLAKE2b-256 dd498ba85684b2b9bce0deef4d54c9366eacf2d86524e612c536005937262873

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightwin-0.14.1-cp312-cp312-win_amd64.whl:

Publisher: release.yml on AdrienPlacais/LightWin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lightwin-0.14.1-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for lightwin-0.14.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7a15d4640bf40771554dc194933315615328df921e38d97f07a811fc154afe43
MD5 6b98a520e22fee428958bdec2058289d
BLAKE2b-256 eb67099a541224a31ba506fa6249fe06b8f0edd818306cd3f7cdb0c7d6f0ce8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightwin-0.14.1-cp312-cp312-musllinux_1_2_x86_64.whl:

Publisher: release.yml on AdrienPlacais/LightWin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lightwin-0.14.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lightwin-0.14.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a5206d4f9c25455c2fe225707b99691692037a9a2d391ce37d74ef3f06c25df6
MD5 41c300e8019fec569e0eb676b6383bbd
BLAKE2b-256 077ce08115332ebff22575e54283ef6da00248d7d6c6c3e9d9aa5ce114288652

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightwin-0.14.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on AdrienPlacais/LightWin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lightwin-0.14.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for lightwin-0.14.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 90f34c1637971ebfbe43b4905de20afa38aea9206f5cd601943dd97b941f51dd
MD5 1b00c8036e4ea3f88981e96ee252d1d9
BLAKE2b-256 9856a2f3ed9174b093838511816e6affc6138061c8f77b253d4369264d796074

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightwin-0.14.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on AdrienPlacais/LightWin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lightwin-0.14.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lightwin-0.14.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8c3081f2bfe536633d37cb61927486a666f231e7a10abb5bc00a7cdb2a7310c2
MD5 9beef057d37cbe00400f602ae43b86ea
BLAKE2b-256 e1c066c6d7bdeb0712d70df1a0f20eca2238d8644731a70c5e75944801e5f6ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for lightwin-0.14.1-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: release.yml on AdrienPlacais/LightWin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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