The autonomous alignment of synchrotron beamlines is typically a high-dimensional, high-overhead optimization problem, requiring us to predict a fitness function in many dimensions using relatively few data points. A model that performs well under these conditions is a Gaussian process, upon which we can apply the framework of classical Bayesian optimization methods. We show that even with no prior data, a tailored Bayesian optimization algorithm is capable of autonomously aligning up to eight dimensions of a digital twin of the TES beamline at NSLS-II in only a few minutes. We implement this approach in a software package for automatic beamline alignment, which is available out-of-the-box for any facility that leverages the Bluesky environment for beamline manipulation and data acquisition.
|