Skip to content
Snippets Groups Projects
Commit 40fff6b8 authored by Simone Vadilonga's avatar Simone Vadilonga
Browse files

comment kth

parent 93db84ea
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ baseline = [det1]
# here the devices to be read during each scan,
# but not plotted unless explicitly set in the plan
silent_devices = [kth01, kth00]
silent_devices = []#[kth01, kth00]
sd = SupplementalDataSilentDets(baseline=baseline, silent_devices=silent_devices)
......
......@@ -38,12 +38,12 @@ from beamlinetools.devices.mca_old import xMap
# next_injection.wait_for_connection()
# Keithleys
print('Connecting to Amperometers')
ks = 'K64851MF102L:'
kth00 = keithley6485(ks + '12', name='myspot_keithley0', read_attrs=['readback'], labels={'detectors'})
kth00.wait_for_connection()
kth01 = keithley6485(ks + '14', name='myspot_keithley1', read_attrs=['readback'], labels={'detectors'})
kth01.wait_for_connection()
# print('Connecting to Amperometers')
# ks = 'K64851MF102L:'
# kth00 = keithley6485(ks + '12', name='myspot_keithley0', read_attrs=['readback'], labels={'detectors'})
# kth00.wait_for_connection()
# kth01 = keithley6485(ks + '14', name='myspot_keithley1', read_attrs=['readback'], labels={'detectors'})
# kth01.wait_for_connection()
# motors
# print('Connecting to motors')
......@@ -76,14 +76,14 @@ mca_old.wait_for_connection()
from beamlinetools.devices.mca import MyEpicsMCA
mca= MyEpicsMCA('dxpXMAP:', name="mca")
from beamlinetools.devices.mca import DivideByArgs
# from beamlinetools.devices.mca import DivideByArgs
div_det1 = DivideByArgs(mca.ch1.roi0.count, [mca.ch1.lifetime], name="div_det1")
div_det2 = DivideByArgs(mca.ch1.roi0.count, [mca.ch1.lifetime, kth00.readback], name="div_det2")
div_det2l = DivideByArgs(mca.ch1.roi0.count, [mca.ch1.lifetime, kth00.readback], log=True, name="div_det2l")
# div_det1 = DivideByArgs(mca.ch1.roi0.count, [mca.ch1.lifetime], name="div_det1")
# div_det2 = DivideByArgs(mca.ch1.roi0.count, [mca.ch1.lifetime, kth00.readback], name="div_det2")
# div_det2l = DivideByArgs(mca.ch1.roi0.count, [mca.ch1.lifetime, kth00.readback], log=True, name="div_det2l")
div_mca = DivideByArgs(derived_from=mca.ch1.roi0.count, divisors=[mca.ch1.lifetime, kth00.readback], log=True, name="div_det2l")
# div_mca = DivideByArgs(derived_from=mca.ch1.roi0.count, divisors=[mca.ch1.lifetime, kth00.readback], log=True, name="div_det2l")
from beamlinetools.devices.eiger import MyDetector
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment