artiq/examples/collapse_test.py

14 lines
290 B
Python

def collapse_test():
for i in range(3):
with parallel:
with sequential:
pulse("a", 100*MHz, 10*us)
delay(10*us)
pulse("b", 100*MHz, 10*us)
delay(20*us)
with sequential:
pulse("a", 100*MHz, 10*us)
delay(10*us)
pulse("b", 100*MHz, 10*us)
delay(10*us)