Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change relock block in satp3 policy so take_noise done while detector… #127

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/schedlib/policies/satp3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand All @@ -178,6 +175,7 @@ def make_blocks(master_file):
"################### Detector Setup######################",
"with disable_trace():",
" run.initialize()",
"pysmurfs = run.CLIENTS['smurf']",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This gets defined already at the top of the schedule in the preamble.

I jumped in to comment because I'm trying to eliminate the need for this direct access to the clients by adding functionality to sorunlib where needed. It'd be great to get a response to #110.

"run.smurf.take_bgmap(concurrent=True)",
"run.smurf.iv_curve(concurrent=True)",
"for smurf in pysmurfs:",
Expand Down