Contrast - a lightweight Python framework for beamline orchestration and data acquisition

J Synchrotron Radiat. 2021 Jul 1;28(Pt 4):1253-1260. doi: 10.1107/S1600577521005269. Epub 2021 Jun 8.

Abstract

The emergence of fourth-generation synchrotrons is prompting the development of new systems for experimental control and data acquisition. However, as general control systems are designed to cover a wide set of instruments and techniques, they tend to become large and complicated, at the cost of experimental flexibility. Here we present Contrast, a simple Python framework for interacting with beamline components, orchestrating experiments and managing data acquisition. The system is presented and demonstrated via its application at the NanoMAX beamline of the MAX IV Laboratory.

Keywords: SCADA; data acquisition; instrument control.