Skip to main content

Acc Lib

Accelerator physics library containing plotting tools and other useful methods to handle data from X-suite tracking and other beam dynamics software, in constant evolution along with my PhD projects.

Installation can be easily done via: pip install acc_lib

The class plot_tools contains several plotting methods to illustrate the turn-by-turn data generated by X-suite trackers, including centroid evolution, phase space distributions, Twiss parameters, simple FFT and tune footprint.

The class resonance_lines, based upon the base class from Foteini Asvesta, contains methods to plot resonance lines of a given order in a given interval for tune plots. In particular, the method plot_resonance_and_tune_footprint allows to print the tune footprint from X-suite tracking together with the resonance lines of a given order.

The class particles allows to display particle properties.

The class madx_tools contains methods to print errors from a crashed MAD-X process, print the elements neatly, plot the beam envelope, get the realistic apertures for both starting and end points of each element, and to plot the aperture together with the beam envelope.

The class footprint, inspired by this X-suite example, allows for convenient plotting of footprints of coordinates in Cartesian/polar, but also of the tunes.

Metadata

Release files for acc-lib 0.0.29

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acc-lib 0.0.29
File Size Uploaded Provenance
acc_lib-0.0.29.tar.gz 10.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for acc-lib 0.0.29
File Interpreter ABI Platform
acc_lib-0.0.29-py3-none-any.whl Python 3 none any Details

Total release size: 20.2 kB

Release files / acc_lib-0.0.29.tar.gz

Download URL acc_lib-0.0.29.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
33c6b2d2cf13edd3eb55e0ed6492a85ad9261820641928a4b381749652dbc440
BLAKE2b-256 checksum
How to use checksums
605c96f25a5389b3c693cb05860bd4fb0e9b4e132dd9b8d1e562ec80bb34b5b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.12

Release files / acc_lib-0.0.29-py3-none-any.whl

Download URL acc_lib-0.0.29-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d63e3d99d448f8dcb3744594a1659ed93c364f870200a6a64acd4fcbd95907a9
BLAKE2b-256 checksum
How to use checksums
a242d665bf117d1540bb1ce6b8748957faaaa1555e9f49d0a60f70fd8e9881ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.12

Security for acc-lib 0.0.29

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page