Skip to main content

A tool to create large-scale DA simulations.

Project description

Dynamics Aperture Study Package

This package consists of a collection of tools to study the dynamics aperture of a particle accelerator with Xsuite. In a sense, it is a replacement of the DA study template, but much more advanced. It also allows to configure colliders and do tracking without necessarily running parametric scans.

The package is divided into four main parts:

  • Study Generation: Provides functions to generate, from template scripts and a configuration file, the dynamics aperture study as a multi-generational tree representing the various layers of the corresponding parametric scan. Alternatively, one can generate a single job from configuring a collider and running some tracking (or any other type of job), without doing a scan.
  • Study Submission: Allows seamless submission of the generated study locally and/or to computing clusters (mainly HTCondor), and the automatic retrieval of the results.
  • Study Postprocessing: Provides functions to postprocess the raw results (usually .parquet files from tracking) and aggregate them into a Pandas DataFrame.
  • Study Plotting: Provides functions to visualize the postprocessed results as 2D and 3D heatmaps.

The whole project is described in details in the full documentation, along with tutorials and description of the implemented functions.

Note that this package is still under development. Consequently, this README might evolve in the near future.

Installation

Simple usage

The package is available on PyPI and can be installed using pip.

pip install study-da

Usage

Please refer to the full documentation.

Contributing

We welcome contributions to the Dynamics Aperture Study Package. If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/yourfeature)
  3. Make your changes
  4. Commit your changes (git commit -am 'Add your feature')
  5. Push to the branch (git push origin feature/yourfeature)
  6. Create a new Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

study_da-0.3.1.tar.gz (4.9 MB view details)

Uploaded Source

Built Distribution

study_da-0.3.1-py3-none-any.whl (4.9 MB view details)

Uploaded Python 3

File details

Details for the file study_da-0.3.1.tar.gz.

File metadata

  • Download URL: study_da-0.3.1.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.13 Linux/4.18.0-448.el8.x86_64

File hashes

Hashes for study_da-0.3.1.tar.gz
Algorithm Hash digest
SHA256 ff5532dfd80bcfaa523fe2aca25f147729cbfb8f8479a8cf56729308658788cf
MD5 0d74cd34727e8bafd5b4774a65c846a3
BLAKE2b-256 b2e42fca69d703e91198d9dcfe65936ffc89c8b806f25583da1a0822a53f61bb

See more details on using hashes here.

File details

Details for the file study_da-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: study_da-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.13 Linux/4.18.0-448.el8.x86_64

File hashes

Hashes for study_da-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a37fa73b4d4f3fe33e7f04ed08cdb044429b9107147b63ebe03d0de8eb999dc4
MD5 88a6907ffd8a1b1d43fb79c1418fb8ae
BLAKE2b-256 4e7cff388a6be85b70d83c31cc847d57f6d41b6c17ed97761e877b554b2ab9b8

See more details on using hashes here.

Supported by

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