Skip to main content

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.


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 hierarchy
    • Drift, Bend, RBend, SBend, Quadrupole, Sextupole, Octupole
    • Cavity, TDCavity, Undulator, Marker, Monitor, Aperture

🔬 Beam Physics & Tracking

  • Beam - Beam models and particle arrays
    • Beam, Twiss - Beam envelopes and Twiss parameters
    • ParticleArray, Particle - Individual particle tracking
    • generate_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 simulations
    • Navigator - Lattice navigation utilities

⚡ Physics Processes

🔧 Advanced Features


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

ocelot_collab-26.6.1.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ocelot_collab-26.6.1-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file ocelot_collab-26.6.1.tar.gz.

File metadata

  • Download URL: ocelot_collab-26.6.1.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.15

File hashes

Hashes for ocelot_collab-26.6.1.tar.gz
Algorithm Hash digest
SHA256 55f5470000d23af347a616e34b5847fedb3dc764eb2141eaba9a0fa048ebb1a4
MD5 834205e9abd8b26999644ec77f3325cb
BLAKE2b-256 ea0ef5aa5e4af3f35a46ec0aa0ae5181559d43fbd3cc8a7a9265f2b225442db1

See more details on using hashes here.

File details

Details for the file ocelot_collab-26.6.1-py3-none-any.whl.

File metadata

  • Download URL: ocelot_collab-26.6.1-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.15

File hashes

Hashes for ocelot_collab-26.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44eebd8180b840e6e9194ad3e9f33f856068288dd94bfb2b837709815adb2214
MD5 dbf9aa1ae3ea4fd11ba8cf1e60765482
BLAKE2b-256 46a8fbb02b338a13410decfe2c38b32d388ede3a2e59e7d3d5cb18ad13a7557f

See more details on using hashes here.

Supported by

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