diff --git a/simulations/airshower_beacon_simulation/ab_modify_clocks.py b/simulations/airshower_beacon_simulation/ab_modify_clocks.py index b13467c..7aa62e2 100755 --- a/simulations/airshower_beacon_simulation/ab_modify_clocks.py +++ b/simulations/airshower_beacon_simulation/ab_modify_clocks.py @@ -87,12 +87,14 @@ if __name__ == "__main__": tmp_offset = h5ant_attrs['clock_offset'] if remake_clock_offsets: h5ant['traces'][0, :] -= tmp_offset + h5ant['E_AxB'][0, :] -= tmp_offset else: clock_offsets[i] = tmp_offset continue h5ant_attrs['clock_offset'] = clk_offset h5ant['traces'][0, :] += clk_offset + h5ant['E_AxB'][0, :] += clk_offset # save to simple csv np.savetxt(clocks_fname, clock_offsets)