switched to new pgroup
This commit is contained in:
24
maloja.py
24
maloja.py
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from slic.core.acquisition import NuDIArAcquisition
|
||||
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
|
||||
@ -8,6 +8,12 @@ from slic.core.scanner import Scanner
|
||||
#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",
|
||||
@ -20,22 +26,26 @@ channels_inten = [
|
||||
"SLAAR11-LTIM01-EVR0:DUMMY_PV5_NBS"
|
||||
]
|
||||
|
||||
|
||||
channels_ks = channels_inten + [
|
||||
channels_ks = [
|
||||
"SATES21-GES1:A1_VALUES",
|
||||
|
||||
]
|
||||
|
||||
channels_cam = channels_inten + [
|
||||
"SATES21-CAMS154-M1:FPICTURE"
|
||||
channels_cam = [
|
||||
"SATES21-CAMS154-M1:FPICTURE",
|
||||
"SATES24-CAMS161-M1:FPICTURE"
|
||||
]
|
||||
|
||||
channels = channels_inten + channels_ks + channels_cam
|
||||
|
||||
|
||||
instrument = "maloja"
|
||||
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)
|
||||
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])
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user