23 August 2017 Sirepo: a web-based interface for physical optics simulations - its deployment and use at NSLS-II
Author Affiliations +
Proceedings Volume 10388, Advances in Computational Methods for X-Ray Optics IV; 103880R (2017); doi: 10.1117/12.2274031
Event: SPIE Optical Engineering + Applications, 2017, San Diego, California, United States
“Sirepo” is an open source cloud-based software framework which provides a convenient and user-friendly web-interface for scientific codes such as Synchrotron Radiation Workshop (SRW) running on a local machine or a remote server side. SRW is a physical optics code allowing to simulate the synchrotron radiation from various insertion devices (undulators and wigglers) and bending magnets. Another feature of SRW is a support of high-accuracy simulation of fully- and partially-coherent radiation propagation through X-ray optical beamlines, facilitated by so-called “Virtual Beamline” module. In the present work, we will discuss the most important features of Sirepo/SRW interface with emphasis on their use for commissioning of beamlines and simulation of experiments at National Synchrotron Light Source II. In particular, “Flux through Finite Aperture” and “Intensity” reports, visualizing results of the corresponding SRW calculations, are being routinely used for commissioning of undulators and X-ray optical elements. Material properties of crystals, compound refractive lenses, and some other optical elements can be dynamically obtained for the desired photon energy from the databases publicly available at Argonne National Lab and at Lawrence Berkeley Lab. In collaboration with the Center for Functional Nanomaterials (CFN) of BNL, a library of samples for coherent scattering experiments has been implemented in SRW and the corresponding Sample optical element was added to Sirepo. Electron microscope images of artificially created nanoscale samples can be uploaded to Sirepo to simulate scattering patterns created by synchrotron radiation in different experimental schemes that can be realized at beamlines.
Conference Presentation
© (2017) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Maksim S. Rakitin, Oleg Chubar, Paul Moeller, Robert Nagler, David L. Bruhwiler, "Sirepo: a web-based interface for physical optics simulations - its deployment and use at NSLS-II", Proc. SPIE 10388, Advances in Computational Methods for X-Ray Optics IV, 103880R (23 August 2017); doi: 10.1117/12.2274031; http://dx.doi.org/10.1117/12.2274031

Optical simulations

Synchrotron radiation

X-ray optics


Optical components

Laser scattering


Back to Top