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.2.tar.gz (4.9 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: study_da-0.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 120d1a5f47aa3f93fad52fcea1a60e88bcdba84dba7abd34d08a45d0e473c112
MD5 6459dd4e75d82378905bf2c57a8758e7
BLAKE2b-256 c7819daaefe1662a2306eb374adf481c943f8be3e78dec7f2600b5984fb7c27d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: study_da-0.3.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 79c3e56186c82a681ad77abc4a31ebe33c5d28cc5d5e9cc94e8165bcec7fcf0f
MD5 dced22085f4add6505cf0bb9a3abeb96
BLAKE2b-256 38ad0e924a4410ff4ba83db3aa790fbbdeb978f270bd1666662e746907f6bfc6

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