def interlaced_plan(dets, motor): to_read = (motor, *dets) run_names = ["run_one", "run_two", "run_three"] for rid in run_names: yield from srkw(bps.open_run(md={rid: rid}), run=rid) for j in range(5): for i, rid in enumerate(run_names): yield from bps.mov(motor, j + 0.1 * i) yield from srkw(bps.trigger_and_read(to_read), run=rid) for rid in run_names: yield from srkw(bps.close_run(), run=rid)
def plan3(): yield from srkw(empty_plan(), 10)
def plan2(): yield from srkw(empty_plan(), object())
def plan1(): yield from srkw(empty_plan(), None)
def interlaced_plan(dets, motor): run_names = ["run_one", "run_two", "run_three"] for rid in run_names: yield from srkw(bps.open_run(md={rid: rid}), run=rid) raise Exception("womp womp")
def plan5(): yield from srkw(empty_plan(), run="run_name")
def plan4(): yield from srkw(empty_plan(), "run_name")