42 lines
1.0 KiB
Python
42 lines
1.0 KiB
Python
#!/usr/bin/env python
|
|
|
|
from slic.core.acquisition import NuDIArAcquisition
|
|
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
|
|
|
|
|
|
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 = channels_inten + [
|
|
"SATES21-GES1:A1_VALUES",
|
|
|
|
]
|
|
|
|
channels_cam = channels_inten + [
|
|
"SATES21-CAMS154-M1:FPICTURE"
|
|
]
|
|
|
|
|
|
pgroup = "p18493" # commissioning june 2020
|
|
pgroup = "p18722" # commissioning sept 2020
|
|
daq = NuDIArAcquisition("maloja", pgroup, default_channels=channels_ks, rate_multiplicator=40)
|
|
|
|
scan = Scanner(scan_info_dir="/sf/maloja/data/p18493/res/scan_info", default_acquisitions=[daq], make_scan_sub_dir=False)
|
|
|
|
|
|
|