Added a function to calculate the max correlation and coordinates of a given sky map. I already tested it with:
# find the max correlation, and the corresponding theta and phi (also for the vpol map at the distance of the pulser)
max_corr, max_theta, max_phi = correlation.get_max_corr_and_coords(reco_results["pulser_v"]["map"])
print(f"Max correlation: {max_corr}, Theta: {max_theta}, Phi: {max_phi}")
Added a function to calculate the max correlation and coordinates of a given sky map. I already tested it with:
Do we want to add the test in run_example.py?