From 13fd760c31571ac7a8aabc2a01cf10a9e392c401 Mon Sep 17 00:00:00 2001 From: Samuel Day-Weiss Date: Thu, 31 Oct 2024 13:36:58 +0000 Subject: [PATCH] Change relock block in satp3 policy so take_noise done while detectors in transition, relock automatically takes SC noise. Add re-definition of pysmurfs in det setup block so that UFMs that are re-introduced after failure will be biased. --- src/schedlib/policies/satp3.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/schedlib/policies/satp3.py b/src/schedlib/policies/satp3.py index 42aeb740..5bf123e2 100644 --- a/src/schedlib/policies/satp3.py +++ b/src/schedlib/policies/satp3.py @@ -162,10 +162,7 @@ def make_blocks(master_file): } commands_uxm_relock = [ - "############# Daily Relock", - "run.smurf.zero_biases()", - "", - "time.sleep(120)", + "############# Daily Relock", "run.smurf.take_noise(concurrent=True, tag='res_check')", "run.smurf.uxm_relock(concurrent=True)", "run.smurf.take_bgmap(concurrent=True)", @@ -178,6 +175,7 @@ def make_blocks(master_file): "################### Detector Setup######################", "with disable_trace():", " run.initialize()", + "pysmurfs = run.CLIENTS['smurf']", "run.smurf.take_bgmap(concurrent=True)", "run.smurf.iv_curve(concurrent=True)", "for smurf in pysmurfs:",