during p21977

This commit is contained in:
2024-06-21 20:00:19 +02:00
parent 8e52fd376d
commit 4bf7321e2d
6 changed files with 12 additions and 7 deletions

View File

@ -20,7 +20,7 @@ def test_attenuators():
try:
assert tfundamental > 0
except TypeError:
logger.warning("No transmission value reported from {att.ID}")
logger.warning(f"No transmission value reported from {att.ID}")
test_attenuators()

View File

@ -23,7 +23,7 @@ N_UNDS = list(range(3, 15 + 1))
# Cristallina without calibration
# offset is the difference between PSSS and undulator setpoint
# sign convention: Undulator - PSSS
energy_offset = -104 # eV
energy_offset = -70 # eV
# move the PSSS motor according to the energy

View File

@ -345,7 +345,7 @@ bs_channels = (
camera_channels
+ channels_gas_monitor
# + channels_RF
# + channels_Xeye
+ channels_Xeye
+ channels_PBPS053
+ channels_PSSS059
+ channels_PSSS059_LB

View File

@ -337,6 +337,9 @@ pvs_OATA150 = [
"SAROP31-OATA150:MOTOR_4", # motor Motor 4 SAROP31-CPPM-MOT7171 swissfel
"SAROP31-OATA150:MOTOR_5", # motor Motor 5 SAROP31-CPPM-MOT7171 swissfel
"SAROP31-OATA150:MOTOR_6", # motor Motor 6
"SAROP31-OATA150:UsrRec.TC1", # current transmission
"SAROP31-OATA150:UsrRec.TR1", # resulting transmission
"SAROP31-OATA150:UsrRec.TD", # setpoint transmission
]

View File

@ -63,7 +63,7 @@ from slic.core.scanner import Scanner
from slic.devices.general.motor import Motor
from slic.utils import devices, Marker, as_shortcut
from slic.utils import devices, Marker, as_shortcut, snapshot
from slic.utils import Channels, Config, Elog, Screenshot, PV
from slic.core.acquisition.fakeacquisition import FakeAcquisition
@ -119,7 +119,7 @@ from slic.devices.xoptics import slits
## Smaract & attocube stages
from gp_exp.smaract_device_def import smaract_Juraj, smaract_mini_XYZ
from gp_exp.attocube_device_def import attocube
# from gp_exp.attocube_device_def import attocube # disabled fbecause of issues with Adjustables
from gp_exp.jj_device_def import jjslits
# Bernina monochromator
@ -163,7 +163,7 @@ spreadsheet = Spreadsheet(
"Magnet_X": dilution.x,
"Magnet_Y": dilution.y,
"Magnet_Z": dilution.z,
"DilSc_T_plato": dilution.T_plato,
"DilSc_T_chip": dilution.T_chip,
"DilSc_T_pucksensor": dilution.T_pucksensor,
},
placeholders=("comment", "sample", "run_usable"),

View File

@ -25,7 +25,9 @@ class Dilution(Device):
self.x = MagnetCoil("X", self.dilsc, 'x', limit_low=-0.6, limit_high=0.6)
self.y = MagnetCoil("Y", self.dilsc, 'y', limit_low=-0.6, limit_high=0.6)
self.z = MagnetCoil("Z", self.dilsc, 'z', limit_low=-5.2, limit_high=5.2)
self.T_plato = Thermometer('T_plato', self.dilsc, limit_low=0, limit_high=300)
# not in use currently
# self.T_plato = Thermometer('T_plato', self.dilsc, limit_low=0, limit_high=300)
self.T_chip = Thermometer('T_chip', self.dilsc, limit_low=0, limit_high=300)
self.T_pucksensor = Thermometer('T_pucksensor', self.dilsc, limit_low=0, limit_high=300)