colect also in gain0

This commit is contained in:
Dmitry Ozerov
2021-11-08 10:55:34 +01:00
committed by Data Backend account
parent 1721d2b36a
commit 96b04d61a7
+3
View File
@@ -27,6 +27,9 @@ def take_pedestal(detectors_name=[], rate=1):
start_pulse_id = int(pulse_id_pv.get())
# collect in G0
sleep(10*rate)
#G1
for detector in detectors:
detector.gainmode = gainMode.FORCE_SWITCH_G1