51 lines
1.1 KiB
Python
51 lines
1.1 KiB
Python
#!/usr/bin/env python
|
|
|
|
from slic.core.acquisition import SFAcquisition
|
|
from slic.core.scanner import Scanner
|
|
#from slic.utils import Channels, Config, Elog, Screenshot, PV
|
|
#from slic.core.condition import PVCondition
|
|
|
|
#from slic.utils import devices
|
|
|
|
|
|
from devices.attenuator import Attenuator
|
|
|
|
|
|
att = Attenuator("SATFE10-OATT064")
|
|
|
|
|
|
channels_inten = [
|
|
# "SATFE10-PEPG046:PHOTON-ENERGY-PER-PULSE-AVG"
|
|
"SATFE10-PEPG046-EVR0:CALCI",
|
|
"SATFE10-PEPG046-EVR0:CALCS",
|
|
"SATFE10-PEPG046-EVR0:CALCT",
|
|
"SATFE10-PEPG046-EVR0:CALCX",
|
|
"SATFE10-PEPG046-EVR0:CALCY",
|
|
"SATFE10-PEPG046:FCUP-INTENSITY-AVG",
|
|
"SATFE10-PEPG046:FCUP-INTENSITY-CAL",
|
|
"SLAAR11-LTIM01-EVR0:DUMMY_PV5_NBS"
|
|
]
|
|
|
|
channels_ks = [
|
|
"SATES21-GES1:A1_VALUES",
|
|
|
|
]
|
|
|
|
channels_cam = [
|
|
"SATES21-CAMS154-M1:FPICTURE",
|
|
"SATES24-CAMS161-M1:FPICTURE"
|
|
]
|
|
|
|
channels = channels_inten + channels_ks + channels_cam
|
|
|
|
|
|
instrument = "maloja"
|
|
pgroup = "p18493"
|
|
|
|
daq = SFAcquisition(instrument, pgroup, default_channels=channels, rate_multiplicator=40)
|
|
|
|
scan = Scanner(scan_info_dir=f"/sf/{instrument}/data/{pgroup}/res/scan_info", default_acquisitions=[daq])
|
|
|
|
|
|
|