Elegant
Tool for simulating particle accelerators. Models beam dynamics, tracks particles, optimizes accelerator parameters.
Install / Use
/learn @rtsoliday/ElegantREADME
elegant
elegant (ELEctron Generation ANd Tracking) is a tool for simulating particle accelerators, particularly useful at facilities like the Advanced Photon Source (APS). It helps model beam dynamics, track particles in 6D, and optimize accelerator parameters, making it vital for research and operations.
Introduction to elegant
elegant, standing for ELEctron Generation ANd Tracking, is a 6-D accelerator simulation code developed by the Accelerator Operations and Physics Group at the Advanced Photon Source (APS), a facility under Argonne National Laboratory. It is designed to model and simulate particle accelerators, particularly synchrotron light sources, with capabilities extending to tracking particles in 6-dimensional phase space (x, x', y, y', s, δ), using matrices up to third order, canonical kick elements, and numerically integrated elements. The software is not standalone, relying on the SDDS (Self-Describing Data Sets) Toolkit for post-processing and data analysis, and supports multi-stage simulations, making it suitable for complex projects like start-to-end jitter analysis and top-up tracking. The program’s philosophy emphasizes flexibility, encouraging users to leverage UNIX shell scripts and languages like Tcl/Tk for tailored outputs. It supports concurrent computing on multiple workstations, with complete backward compatibility to ensure existing input files remain functional. This makes elegant an essential tool for the design, operation, and upgrade of particle accelerators, particularly in research environments.
Documentation
For comprehensive details and examples, please refer to the elegant User’s Manual. An online forum is available for support.
Installation
Clone the repository and build the project:
git clone https://github.com/rtsoliday/SDDS.git
git clone https://github.com/rtsoliday/elegant.git
cd elegant
make -j
Usage
Run elegant with an appropriate input file:
./elegant your_input_file.ele
Output files are generated in SDDS format and can be post-processed with the SDDS Toolkit.
Contributing
Contributions, bug reports, and suggestions are welcome. Please open an issue or submit a pull request with your improvements.
Citation
If you use elegant in your research, please cite:
M. Borland, “elegant: A Flexible SDDS-Compliant Code for Accelerator Simulation,” Advanced Photon Source LS-287, September 2000.
Authors
- Michael Borland
- Bob Soliday
- Yusong Wang
- Aimin Xiao
- Hairong Shang
- Nikita Kuklev
- Joe Calvey
- Yipeng Sun
- Louis Emery
- Xuesong Jiao
- Vadim Sajaev
Acknowledgments
This project is developed and maintained by Accelerator Operations & Physics at the Advanced Photon Source at Argonne National Laboratory.
For more details, visit the official SDDS documentation.
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
