Script execution
This commit is contained in:
@@ -118,12 +118,18 @@ amplt_step = 0.049999 * amplt_sat
|
||||
# adjust plot ranges for the color bar to be always the same
|
||||
def after(rec):
|
||||
if rec.index==1:
|
||||
for p in get_plots("Jitter Scan"):
|
||||
if i % 2 == 0:
|
||||
p.setScale(0.0, a_lim)
|
||||
else :
|
||||
p.setScale(0.0, p_lim)
|
||||
i += 1
|
||||
(p1,p2,p3,p4,p5,p6,p7,p8,p9,p10) = get_plots("Jitter Scan")
|
||||
p1.setScale(0.0, a_lim)
|
||||
p3.setScale(0.0, a_lim)
|
||||
p5.setScale(0.0, a_lim)
|
||||
p7.setScale(0.0, a_lim)
|
||||
p9.setScale(0.0, a_lim)
|
||||
|
||||
p2.setScale(0.0, p_lim)
|
||||
p4.setScale(0.0, p_lim)
|
||||
p6.setScale(0.0, p_lim)
|
||||
p8.setScale(0.0, p_lim)
|
||||
p10.setScale(0.0, p_lim)
|
||||
|
||||
|
||||
scan_result = ascan((cv_rf_amplt, cv_rf_phase), (mv_ref_jit_amplt,mv_ref_jit_phase,mv_iqm_jit_amplt,mv_iqm_jit_phase,mv_pre_jit_amplt,mv_pre_jit_phase,mv_kly_jit_amplt,mv_kly_jit_phase,mv_vsum_jit_amplt,mv_vsum_jit_phase), ( amplt_m10, -170.0), (amplt_sat, 180.0), (amplt_step, 10.0) , latency=latency, title="Jitter Scan", after_read=after, zigzag=False)
|
||||
|
||||
Reference in New Issue
Block a user