From d1edfb85c38c67878eba762b515b688d2e985885 Mon Sep 17 00:00:00 2001 From: Roger Kalt Date: Tue, 6 Sep 2016 16:57:06 +0200 Subject: [PATCH] Startup --- script/jitter_scan.py | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) 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: