Accelerator, radiation and x-ray optics simulation framework
Project description
Accelerator, radiation and x-ray optics simulation framework
Ocelot
Ocelot is an open-source multiphysics simulation toolkit for accelerator physics. It is designed to model Free Electron Lasers (FELs), storage rings, and transport lines using a modular and scriptable Python interface.
- Website: https://www.ocelot-collab.com
- Documentation: https://www.ocelot-collab.com/docs/docu/intro
- Tutorials: https://www.ocelot-collab.com/docs/tutorial/intro
- Source code: https://github.com/ocelot-collab/ocelot
- Bug reports: https://github.com/ocelot-collab/ocelot/issues
- License: GPL-3.0 license
Features
Ocelot provides:
- A modular framework for beam dynamics simulations (tracking, optics, matching)
- Physics processes including:
- Space charge
- Coherent synchrotron radiation (CSR)
- Wakefields
- and many more
- A framework for FEL-related studies and synchrotron calculation
- Jupyter-based interactive tutorials for education and development
Getting Started
For requirements and installation instructions, see the official guide: 👉 Installation & Setup
To explore tutorials, visit: 👉 Tutorial Overview 👉 Student-Friendly Introduction
Core Modules & API Reference
Ocelot's core functionality is organized into key modules:
📘 Lattice Elements & Design
- Elements - Lattice element definitions (dipoles, quadrupoles, cavities, etc.)
OpticElement,Element,Magnet- Base classes with inheritance hierarchyDrift,Bend,RBend,SBend,Quadrupole,Sextupole,OctupoleCavity,TDCavity,Undulator,Marker,Monitor,Aperture
🔬 Beam Physics & Tracking
- Beam - Beam models and particle arrays
Beam,Twiss- Beam envelopes and Twiss parametersParticleArray,Particle- Individual particle trackinggenerate_parray(),ellipse_from_twiss()- Beam generation utilities
🎯 Tracking & Optics
- Tracking - Particle and beam tracking algorithms
- Optics - Optics calculations and transfer maps
MagneticLattice- Core lattice object for simulationsNavigator- Lattice navigation utilities
⚡ Physics Processes
- Space Charge - Space charge effects
- CSR - Coherent synchrotron radiation
- Wake Fields - Longitudinal and transverse wake effects
- Physics Processes - Extensible framework for custom effects
🔧 Advanced Features
- Chromaticity Compensation
- Beam Matching - Automated optics matching
- Beam Parameter Calculations
We welcome feedback, contributions, and new ideas
Disclaimer: The OCELOT code comes with absolutely NO warranty. The authors of the OCELOT do not take any responsibility for any damage to equipments or personnel injury that may result from the use of the code.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ocelot_collab-26.6.0.tar.gz.
File metadata
- Download URL: ocelot_collab-26.6.0.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54f982e38f8cf23bab680b399395e413b0055a316dec321152c90b09078ba753
|
|
| MD5 |
ab93833f0270094467ff5ada48cb317a
|
|
| BLAKE2b-256 |
1946c3110f72ba212196540c59f3e5153cdc368c5596a50d04f6d508af83c476
|
File details
Details for the file ocelot_collab-26.6.0-py3-none-any.whl.
File metadata
- Download URL: ocelot_collab-26.6.0-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9e5451a32c062f1c081571cd4df236d086f0346f0218ba207425de27515a881
|
|
| MD5 |
ad46ae1d3f146d1588cbad3dda39899b
|
|
| BLAKE2b-256 |
930556d35ba7e53a8329555e77e4fa4c83da45dd4792e871d53fb984e049ccdd
|