df_grid (DataFrame) – DataFrame with columns ‘Azimuth’, ‘Tilt’, ‘Metric’.
opt_azimuth (float) – Optimal azimuth to mark.
opt_tilt (float) – Optimal tilt to mark.
opt_metric (float) – Metric value at optimum.
results_dir (str) – Output directory.
filename (str) – Output filename.