U.S. Particle Accelerator School
U.S. Particle Accelerator School
Education in Beam Physics and Accelerator Technology

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: A cloud-based GUI that lets you run elegant simulations in-browser and get instant visual and numerical feedback. With nothing to install, you can access simulations from any device and share them via URL with colleagues or teammates.

Jupyter server

RadiaSoft’s Jupyter server provides access to particle accelerator, FEL, and X-ray optics codes, as well as standard machine learning tools. They are preinstalled and can 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: A cloud-based GUI that lets you run SRW simulations to calculate synchrotron radiation and simulate X-ray optics on your device. It provides ready-made plots in the same program and sharing via URL.


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

WarpPBA on Sirepo: This browser-based GUI lets you simulate laser- and beam-driven plasma wakefields on a 2D cylindrical mesh with azimuthal modes from your device.

WarpVND on Sirepo: Another Sirepo GUI, it lets you simulate vacuum nanoelectronic devices from your browser. Key features include placement and editing of internal conductors, definition of thermionic sources, and post-processing and plotting tools.