diff --git a/simulations/airshower_beacon_simulation/bb_beacon_true_phases.py b/simulations/airshower_beacon_simulation/bb_beacon_true_phases.py index f826a20..71a4676 100755 --- a/simulations/airshower_beacon_simulation/bb_beacon_true_phases.py +++ b/simulations/airshower_beacon_simulation/bb_beacon_true_phases.py @@ -41,6 +41,9 @@ if __name__ == "__main__": c_light = 3e8*1e-9 show_plots = True + remove_absolute_phase_offset_first_antenna = True # takes precedence + remove_absolute_phase_offset_minimum = True + #### fname_dir = path.dirname(fname) antennas_fname = path.join(fname_dir, beacon.antennas_fname) @@ -67,8 +70,8 @@ if __name__ == "__main__": # Remove the phase from one antenna # this is a free parameter # (only required for absolute timing) - if True: - if True: # just take the first phase + if remove_absolute_phase_offset_first_antenna or remove_absolute_phase_offset_minimum: + if remove_absolute_phase_offset_first_antenna: # just take the first phase minimum_phase = -1*true_phases[0] else: # take the minimum minimum_phase = -1*np.min(true_phases, axis=-1)