From 7f0f87de22ff5076d3685aa985513b6416b3b7e6 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Wed, 11 Nov 2020 15:41:29 +0100 Subject: [PATCH] renamed Device to DeviceZ --- adhoc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/adhoc.py b/adhoc.py index 75730ff..6215e1a 100644 --- a/adhoc.py +++ b/adhoc.py @@ -20,14 +20,14 @@ microscope_yaw = SmarActAxis("SARES11-XMI125:ROZ1") #TODO: just some generic examples: -from slic.devices.device import Device +from slic.devices.devicez import DeviceZ -shut_und = Device( +shut_und = DeviceZ( "SARFE10-OPSH044", description="Photon shutter after Undulator" ) -pbps_und = Device( +pbps_und = DeviceZ( "SARFE10-PBPS053", z_undulator=44, description="Intensity position monitor after Undulator (PBPS)"