Alignment laser added

This commit is contained in:
2023-02-03 16:47:15 +01:00
parent 9be95ff4f6
commit 89a1dc134d
2 changed files with 48 additions and 5 deletions

View File

@ -16,7 +16,7 @@ os.chdir('/sf/cristallina/applications/slic/cristallina')
# from tqdm import trange
from epics import PV
from alignment_laser import AlignmentLaser
from slic.gui import GUI
from slic.core.adjustable import Adjustable, PVAdjustable, DummyAdjustable
from slic.core.acquisition import SFAcquisition, PVAcquisition
@ -58,16 +58,16 @@ cta = CTASequencer("SAR-CCTA-ESC")
pbps113 = IntensityMonitorPBPS(
"SAROP31-PBPS113",
# VME_crate="SAROP11-CVME-PBPS2", # please check this!
# vme_crate="SAROP31-CVME-PBPS1", # please check this!
# link=9,
description="Intensity/position monitor in the optics hutch (after first aperture))"
description="Intensity/position monitor in the optics hutch",
)
pbps149 = IntensityMonitorPBPS(
"SAROP31-PBPS149",
# VME_crate="SAROP11-CVME-PBPS2", # please check this!
# vme_crate="SAROP31-CVME-PBPS2", # please check this!
# link=9,
description="Intensity/position monitor in the optics hutch (after first aperture))"
description="Intensity/position monitor in the experimental hutch"
)
def test_attenuator():
@ -87,6 +87,9 @@ undulators = undulator.Undulators()
shutter = PP_Shutter("SARES30-LTIM01-EVR0:RearUniv0-Ena-SP",name="Cristallina pulse picker shutter") # Shutter buttton when using the pulse picker
pulsepicker = PulsePicker("SAROP31-OPPI151","SARES30-LTIM01-EVR0:Pul3", name="Cristallina X-ray pulse picker OPPI151")
# Alignmnet laser
alaser = AlignmentLaser("SAROP31-OLAS147:MOTOR_1",name="Cristallina alignment laser OLAS147")
## Slits
from slic.devices.xoptics import slits
@ -96,6 +99,7 @@ from attocube_device_def import attocube
# KBs
from slic.devices.xoptics.kb import KBBase,KBHor,KBVer
kbHor = KBHor(
"SAROP31-OKBH154",
description="Cristallina horizontal KB mirror"