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 PandasDataFrame
. - 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.
- Fork the repository
- Create a new branch (
git checkout -b feature/yourfeature
) - Make your changes
- Commit your changes (
git commit -am 'Add your feature'
) - Push to the branch (
git push origin feature/yourfeature
) - Create a new Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
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 Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 120d1a5f47aa3f93fad52fcea1a60e88bcdba84dba7abd34d08a45d0e473c112 |
|
MD5 | 6459dd4e75d82378905bf2c57a8758e7 |
|
BLAKE2b-256 | c7819daaefe1662a2306eb374adf481c943f8be3e78dec7f2600b5984fb7c27d |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79c3e56186c82a681ad77abc4a31ebe33c5d28cc5d5e9cc94e8165bcec7fcf0f |
|
MD5 | dced22085f4add6505cf0bb9a3abeb96 |
|
BLAKE2b-256 | 38ad0e924a4410ff4ba83db3aa790fbbdeb978f270bd1666662e746907f6bfc6 |