12–14 Feb 2025
HZB Berlin-Adlershof
Europe/Berlin timezone

Pytac: A Python Tool for Accelerator Control & Simulation at Diamond Light Source

12 Feb 2025, 14:45
2h 15m
HZB Berlin-Adlershof

HZB Berlin-Adlershof

Albert-Einstein-Straße 15 12487 Berlin
Show&Tell Contributions Show&Tell Show & tell

Description

At Diamond, many Python high-level applications interact with the accelerator (e.g., orbit feedback systems, BBA, etc.). Most use PyTAC (Python Toolkit for Accelerator Control) to interact with the machine.

We also have ATIP (Accelerator Toolbox Interface for Pytac). This allows users to interact with a PyAT simulation through PyTAC in the same way they would use the real machine.

In this demo, we will demonstrate:

  • The basics of accelerator control using PyTAC.
  • How to switch between the live and simulated machines, both for a single function call and for a whole session.
  • Finally, show how you can control the simulator, using the same functions that were previously used on the live machine.

Primary author

Tobyn Nicholls (Diamond Light Source)

Co-author

Mr Martin Gaughran (Diamond Light Source)

Presentation materials