Feb 2024 status

This commit is contained in:
gac-furka
2024-02-08 14:01:58 +01:00
parent b6746d317a
commit f7ee0918c3
17 changed files with 758 additions and 47 deletions

35
sasespec.py Normal file
View File

@ -0,0 +1,35 @@
from slic.devices.general.motor import Motor
from slic.core.device import SimpleDevice
##gui(extras={"Tweak SASE Spec": "Tweak"})
us_gr = SimpleDevice(
"SASE Spec US Grating",
gr_x = Motor("SATOP11-PSAS079:MOT_UG_X", name="SASE US Grating X"),
gr_y = Motor("SATOP11-PSAS079:MOT_UG_Y", name="SASE US Grating Y"),
gr_z = Motor("SATOP11-PSAS079:MOT_UG_Z", name="SASE US Grating Z"),
#...
)
ds_det = SimpleDevice(
"SASE Spec DS Detector",
filt_x = Motor("SATOP11-PSAS079:MOT_DDF_X", name="SASE DS Det Filt X"),
slit1_y = Motor("SATOP11-PSAS079:MOT_DDS_Y1", name="SASE DS Det Slit1 Y"),
slit2_y = Motor("SATOP11-PSAS079:MOT_DDS_Y2", name="SASE DS Det Slit2 Y"),
cryst_rx = Motor("SATOP11-PSAS079:MOT_DDC_RX", name="SASE DS YAG RX"),
cryst_x = Motor("SATOP11-PSAS079:MOT_DDC_X", name="SASE DS YAG X"),
cryst_y = Motor("SATOP11-PSAS079:MOT_DDC_Y", name="SASE DS YAG Y"),
cam_y = Motor("SATOP11-PSAS079:MOT_DDCAM_Y", name="SASE DS Camera Y"),
)
sasespecs = SimpleDevice(
"SASE Spectrometer",
us_gr = us_gr,
ds_det = ds_det
)