Synchrotron beamlines have complex optical systems, with very precise mechanical designs and dedicated instrument control systems. With the advent of machine learning techniques, it becomes increasingly alluring to build models that can mimic the behaviour of beamlines in operation, and make it available to a wider range of applications.
We want to develop a digital twin framework for the Advanced Light Source, were digital twin can be accessed using API calls and experiments can be run using the bluesky experiment framework, leveraging ophyd for seamless switching between the real beamline and its digital twin. We want to model each optical systems with its own degrees of freedom, and allow to quickly model misalignment and model virtual sensors that mimic what real sensor (pixel size, limited field-of view, dynamic range, noise)
ALS beamline models:
(LBNL access) https://git.als.lbl.gov/als-x-ray-optics/als-beamline-models
(private) https://github.com/ALS-X-Ray-optics/als-beamline-models
ALS-U beamline simulations: https://github.com/ALS-X-Ray-optics/als-u-beamline-simulations
xReticolo: simulations of grating efficiency: https://github.com/ALS-X-Ray-optics/xReticolo (pip install xreticolo)