U.S. Particle Accelerator School

Software Downloads


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...

Use Elegant from your browser with an intuitive GUI

Jupyter server

Several particle accelerator codes can be executed from your browser, through a public Jupyter server. You must login to this Jupyter server, by using your GitHub credentials.

The pre-installed codes include the following: Synergia, Warp, Elegant, Genesis 3, Synchrotron Radiation Workshop (SRW), and Shadow3.

Any of these can be executed from the Linux command line, inside of a browser-based terminal window. To open a terminal in the Jupyter server, select 'New' in the upper-right and then select 'Terminal' from the drop down menu.

Any of these codes can, in principle, be run inside of a Jupyter notebook (formerly known as IPython notebooks). This requires a working notebook to be created by the user, or else uploaded from somewhere.

Open source notebooks for Synergia can be found at https://github.com/radiasoft/rssynergia in the examples/ directory and also at https://github.com/radiasoft/ioptics in the ioptics/notebooks/ directory.

Open source notebooks for using SRW to simulate X-ray optics at the European XFEL can be found at https://github.com/samoylv/WPG in the samples/Tutorials/ directory.

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.

Use SRW from your browser with an intuitive GUI


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

Use Warp from your browser with an intuitive GUI, to simulate laser-driven and beam-driven plasma accelerators on a 2D cylindrical mesh with azimuthal modes.