Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Machine learning enabling high-throughput and remote operations at large-scale user facilities



Bruce D. Ravel, Tatiana Konstantinova, Phillip Michael Maffettone, Stuart Campbell, Andi Barbour, Daniel Olds


Imaging, scattering, and spectroscopy are fundamental in understanding and discovering new functional materials. Contemporary innovations in automation and experimental techniques have led to these measurements being performed much faster and with higher resolution, thus producing vast amounts of data for analysis. These innovations are particularly pronounced at user facilities and synchrotron light sources. Machine learning (ML) methods are regularly developed to interpret large datasets in real-time with measurements. However, there remain conceptual barriers to entry for the domain experts, and technical barriers for deploying ML models. Herein, we demonstrate a variety of archetypal ML models for on-the-fly analysis at multiple beamlines at the National Synchrotron Light Source II (NSLS-II). We describe these examples instructively, with a focus on integrating the models into experimental workflows, such that the reader (or facility user) can easily integrate their own ML techniques into experiments at NSLS-II or facilities with common infrastructure. The framework presented here shows how diverse ML models for offline use can operate in conjunction with feedback loops via integration into the existing Bluesky Suite for experimental orchestration and data management with little effort.
Digital Discovery


machine learning, synchrotron, XAFS


Ravel, B. , Konstantinova, T. , Maffettone, P. , Campbell, S. , Barbour, A. and Olds, D. (2022), Machine learning enabling high-throughput and remote operations at large-scale user facilities, Digital Discovery, [online],, (Accessed May 23, 2024)


If you have any questions about this publication or are having problems accessing it, please contact

Created May 18, 2022, Updated November 29, 2022