diff --git a/simulations/airshower_beacon_simulation/ca_period_from_shower.py b/simulations/airshower_beacon_simulation/ca_period_from_shower.py index bb54ae6..6d2aaf7 100755 --- a/simulations/airshower_beacon_simulation/ca_period_from_shower.py +++ b/simulations/airshower_beacon_simulation/ca_period_from_shower.py @@ -424,7 +424,7 @@ if __name__ == "__main__": # Abort if no improvement if ( r!= 0 and (old_ks_per_loc == ks_per_loc[best_idx]).all() ): - print("No changes from previous grid, breaking at iteration {r} out of {N_runs}") + print(f"No changes from previous grid, breaking at iteration {r} out of {N_runs}") try: with open(run_break_fname, 'wt', encoding='utf-8') as fp: diff --git a/simulations/airshower_beacon_simulation/cc_power_along_axis_reconstruction.py b/simulations/airshower_beacon_simulation/da_reconstruction.py similarity index 94% rename from simulations/airshower_beacon_simulation/cc_power_along_axis_reconstruction.py rename to simulations/airshower_beacon_simulation/da_reconstruction.py index a8eb731..55cbf46 100755 --- a/simulations/airshower_beacon_simulation/cc_power_along_axis_reconstruction.py +++ b/simulations/airshower_beacon_simulation/da_reconstruction.py @@ -33,12 +33,11 @@ if __name__ == "__main__": fig_dir = "./figures/" fig_subdir = path.join(fig_dir, 'reconstruction') show_plots = False - pickle_fname = path.join(fig_subdir, 'res.pkl') #### fname_dir = path.dirname(fname) antennas_fname = path.join(fname_dir, beacon.antennas_fname) - time_diffs_fname = 'time_diffs.hdf5' if not True else antennas_fname + pickle_fname = path.join(fname_dir, 'res.pkl') # create fig_dir if fig_dir: