from scope import Scope import time s = Scope() s.glitch.repeat = 4 s.glitch.ext_offset = 10 for _ in range(50000): s.trigger()