diff --git a/script/jitter_scan.py b/script/jitter_scan.py index 27dc618..0e5eb2e 100644 --- a/script/jitter_scan.py +++ b/script/jitter_scan.py @@ -201,10 +201,25 @@ kly_jit_phase = all_statistics_calc(scan_result.getReadable(7)) vsum_jit_amplt = all_statistics_calc(scan_result.getReadable(8)) vsum_jit_phase = all_statistics_calc(scan_result.getReadable(9)) +# define plot range limits dependant on the staation type +if SECTION[1] == 'I': + if SECTION[3] == 'S': + # S-band + a_lim = 1.8e-4 + p_lim = 0.018 + else: + # X-Band + a_lim = 1.8e-4 + p_lim = 0.072 +else: + # C-band + a_lim = 1.8e-4 + p_lim = 0.036 + +#a_lim = 5.0e-4 +#p_lim = 0.04 # adjust plot ranges for the color bar to be always the same -a_lim = 5.0e-4 -p_lim = 0.04 i=0 for p in get_plots("Jitter Scan"): if i % 2 == 0: