Simulation of beamlines at light sources is an essential part of their design and commissioning. Such simulations can be performed by the Synchrotron Radiation Workshop (SRW) code, which now has a user-friendly, browser- based interface, Sirepo. The simulations, utilizing a concept of a "virtual" beamline, can aim to optimize the specific aspects of a beamline, such as maximization of the flux, minimization of the beam size, etc. These tasks are also performed at the physical beamlines using various alignment procedures. At NSLS-II these procedures are executed by the Bluesky data collection framework. The Sirepo-Bluesky interface leverages both systems to allow for the multiparameter optimization of the X-ray source and beamline optics with the power of bluesky's plans used for the daily experiments at NSLS-II, and databroker's capabilities to retrieve the captured data and metadata to perform further analysis. Such a "collaboration" between the frameworks can be used to store the simulated results in the same database as for the experimental data, and seamlessly apply the same analysis pipelines, demonstrated in recent publications. In a simulation, multiple parameters can be changed at once and be stored as a snapshot of the "virtual" beamline in time along with the corresponding results of the simulations. A global optimization algorithm (e.g., a genetic algorithm) can then utilize the data to find the best configuration for the desired outcome. Such an optimization procedure can be seamlessly applied to the real hardware by substituting the virtual motors and detectors by the real ones.
Access to the requested content is limited to institutions that have purchased or subscribe to SPIE eBooks.
You are receiving this notice because your organization may not have SPIE eBooks access.*
*Shibboleth/Open Athens users─please
sign in
to access your institution's subscriptions.
To obtain this item, you may purchase the complete book in print or electronic format on
SPIE.org.
INSTITUTIONAL Select your institution to access the SPIE Digital Library.
PERSONAL Sign in with your SPIE account to access your personal subscriptions or to use specific features such as save to my library, sign up for alerts, save searches, etc.