Feb 2024 status
This commit is contained in:
35
sasespec.py
Normal file
35
sasespec.py
Normal 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
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user