U.S. Particle Accelerator School

Software Downloads


OptiMX: A Program for Accelerator Optics

OptiMX is a GUI-oriented program whose principal aim is to be an easy to use yet comprehensive accelerator optics design and analysis tool. OptiMX runs under MS Windows, Linux and Mac OSX. Binary installation packages are currently available only for MS-Windows and Linux. The native Mac OS X version is still experimental.


This program lets the user design a beam transport line or a storage ring. The program calculates single particle trajectories, betatron functions, periodic betatron/dispersion functions (if there is a solution). After insertion of sextupole magnets it is possible to track particle trajectories, rf-parameters are calculated as well as beam lifetimes. Insertion of vacuum pumps allows the user to calculate the pressure profile. Ample parameter lists are available for cut and paste into a word processing program. Many graphs are available for particle trajectories, betatron functions, rf-phase space and tracking. All graphs can be directly printed or saved in *.wmf format for inclusion into a word processor.

BeamOptics download (.zip)


Guide to Installing SDDS and OAG Simulation Software on Windows Computers (link)

A message about installing on Windows...

A message about installing on Mac...

Elegant on Sirepo allows you to run elegant simulations from your browser without installing anything and offers an intuitive GUI.

Jupyter server

RadiaSoft's JupyterHub server provides access to particle accelerator, FEL and X-Ray optics codes. These codes are preinstalled and an be executed from a browser-based terminal window or from IPython notebooks

Methodical Accelerator Design (MAD/MAD-X)

"MAD is a project with a long history, aiming to be at the forefront of computational physics in the field of particle accelerator design and simulation. The MAD scripting language is de facto the standard to describe particle accelerators, simulate beam dynamics and optimize beam optics."

"MAD-X is the successor of MAD-8 and was first released in June, 2002. It offers most of the MAD-8 functionalities, with some additions, corrections, and extensions. The most important of these extensions is the Polymorphic Tracking Code (PTC) of E. Forest."

MAD-X for Windows (link)

MAD home page (link)


Poisson Superfish is a collection of programs for calculating static magnetic and electric fields and radio-frequency electromagnetic fields in either 2-D Cartesian coordinates or axially symmetric cylindrical coordinates. The programs generate a triangular mesh fitted to the boundaries of different materials in the problem geometry. The package includes plotting programs for viewing the solution, postprocessors for interpolating fields along problem boundaries and on lines, arcs, grids, and user-supplied curves, a comprehensive manual, and numerous examples.

Users are encouraged to register with the Los Alamos Accelerator Code Group (LAACG) to receive email notification of code updates.

Poisson Superfish download (link)

Synchrotron Radiation

"SynRad" allows the calculation of synchrotron radiation parameters including wiggler and undulator radiation.

SynRad download (.zip) - Unzip and replace/use "Mainsr.exe".

You will need the Borland Database Engine (BDE) installed on your PC as well.

Borland DataBase Engine download (link)

Synchrotron Radiation Workshop (SRW) allows the calculation of synchrotron radiation parameters including wiggler and undulator radiation. It also supports wavefront propagation simulations with Fourier optics, including special support for X-ray optics.

SRW on Sirepo enables you to calculate synchrotron radiation and simulate X-ray optics from your browser with an intuitive GUI.


Warp is an open source PIC code and is part of the Berkeley Lab Accelerator Simulation Toolkit

WarpPBA on Sirepo provides a browser-based GUI for simulating browser-based GUI for simulating laser-driven and beam-driven plasma wakefields on a 2D cylindrical mesh with azimuthal modes.

WarpVND on Sirepo provides a browser-based GUI for simulating vacuum nanoelectronic devices. The key features are placement and editing of internal conductors, definition of thermionic sources, and post-processing and plotting tools.