mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m-thesis-introduction.git
synced 2024-12-21 19:13:32 +01:00
parent
b833bfa580
commit
5243f09edc
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue