From 5243f09edce763f7039aed07b5ac98a8ea9be283 Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Tue, 23 May 2023 12:24:30 +0200 Subject: [PATCH] ZH: fixup to 7eaa97d0 ZH: rename clock repair-all mode to repair-full --- airshower_beacon_simulation/aa_generate_beacon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airshower_beacon_simulation/aa_generate_beacon.py b/airshower_beacon_simulation/aa_generate_beacon.py index 5f833fe..147d957 100755 --- a/airshower_beacon_simulation/aa_generate_beacon.py +++ b/airshower_beacon_simulation/aa_generate_beacon.py @@ -34,7 +34,7 @@ def read_antenna_clock_repair_offsets(antennas, mode='full', freq_name=None): _clock_delta = -1*ant.attrs['clock_offset'] # phase - if mode in ['all', 'phases']: + if mode in ['full', 'phases']: clock_phase = ant.beacon_info[freq_name]['clock_phase_mean'] f_beacon = ant.beacon_info[freq_name]['freq'] clock_phase_time = clock_phase/(2*np.pi*f_beacon) @@ -42,7 +42,7 @@ def read_antenna_clock_repair_offsets(antennas, mode='full', freq_name=None): _clock_delta += clock_phase_time # ks - if mode in ['all', 'ks']: + if mode in ['full', 'ks']: best_k_time = ant.beacon_info[freq_name]['best_k_time'] _clock_delta += best_k_time