Data fields:

waist_zz: The axial coordinates of the basis centre with respect to the cavity centre in the spherical geometry scan. Units: metres
waist_ww: The central waist values of the basis in the spherical geometry scan. Units: metres
spherical_cint: The C_int values of the cavities in the spherical mirror geometry scan. Units: dimensionless
best_z_centre: The axial coordinate of the basis whose corresponding spherical mirror gives the highest C_int of the spherical geometry scan. Units: metres
best_w_0: The central waist value of the basis whose corresponding spherical mirror gives the highest C_int of the spherical geometry scan. Units: metres
z_emitter: The axial coordinate of the emitter with respect to the point midplane between the mirrors in the spherical geometry scan. Units: metres

surface_left_r: Radial coordinate values for the surface plot of the left hand mirror. Units: metres
spherical_protrusion_left : The protrusion of the left mirror surface that maximises C_{int} in the spherical case. Units: metres
surface_protrusion_left: The protrusion of the retroreflective optimised left mirror. Units: metres
residuals_protrusion_left: The residuals of the retroreflective optimised surface from the spherical surface that maximises C_{int} (left mirror) (i.e. surface_residuals_left = surface_protrusion_left - spherical_protrusion_left). Units: metres
surface_right_r: Radial coordinate values for the surface plot of the right hand mirror. Units: metres
spherical_protrusion_right : The protrusion of the right mirror surface that maximises C_{int} in the spherical case. Units: metres
surface_protrusion_right: The protrusion of the retroreflective optimised right mirror. Units: metres
residuals_protrusion_right: The residuals of the retroreflective optimised surface from the spherical surface that maximises C_{int} (right mirror) (i.e. surface_residuals_right = surface_protrusion_right - spherical_protrusion_right). Units: metres

density_zz: Axial coordinates of the intensity values for the density plot. Units: metres
density_xx: Transverse x coordinates of the intensity values for the density plot. Units: metres
spherical_mirror_mode_density: Intensities of the mode with the spherical mirror that maximises C_{int} for the density plot. Units: inverse metres squared
optimised_mirror_mode_density: Intensities of the mode with the optimised for the density plot. Units: inverse metres squared 
example_length: The length of the cavity in the example case

emitter_r_array: Radial coordinate values at which the intensity of the modes are calculated in the emitter plane. Units: metres
emitter_intensities_spherical_mirror: Intensities of the mode in the emitter plane for the cavity with the spherical mirrors. Units: inverse metres squared
emitter_intensities_optimised_mirror': Intensities of the mode in the emitter plane for the cavity with the optimised mirrors. Units: inverse metres squared
mirror_left_r_array: Radial coordinate values at which the intensity of the modes are calculated in the left mirror plane. Units: metres
mirror_left_intensities_spherical_mirror: Intensities of the mode in the left mirror plane for the cavity with the spherical mirrors. Units: inverse metres squared
mirror_left_intensities_optimised_mirror: Intensities of the mode in the left mirror plane for the cavity with the optimised mirrors. Units: inverse metres squared
mirror_right_r_array: Radial coordinate values at which the intensity of the modes are calculated in the right mirror plane. Units: metres
mirror_right_intensities_spherical_mirror: Intensities of the mode in the right mirror plane for the cavity with the spherical mirrors. Units: inverse metres squared
mirror_right_intensities_optimised_mirror: Intensities of the mode in the right mirror plane for the cavity with the optimised mirrors. Units: inverse metres squared
mirror_diameter_left: The diameter of the left mirror. Units: metres
mirror_diameter_right: The diameter of the right mirror. Units: metres


Figure plots:

Panel a:
Heat map: spherical_cint vs. waist_zz (x axis) and waist_ww (y axis)
Orange cross: best_z_centre vs best_w_0
Green vertical line: z_emitter

Panel bi:
Black line: surface_left_r vs spherical protrusion_left (identical data plotted for negative r)
Blue line: surface_left_r vs surface_protrusion_left (identical data plotted for negative r)
Red line: surface_left_r vs residuals_protrusion_left (identical data plotted for negative r)
Panel bii:
Black line: surface_right_r vs spherical protrusion_right (identical data plotted for negative r)
Blue line: surface_right_r vs surface_protrusion_right (identical data plotted for negative r)
Red line: surface_right_r vs residuals_protrusion_right (identical data plotted for negative r)

Panel c:
i:
Heat map: spherical_mirror_mode_density on the coordinate grid laid out by density_zz vs density_xx. i.e. for all x and y indices in the arrays, the value spherical_mirror_mode_density[y_index, x_index] is placed at density_zz[y_index, x_index] on the horizontal axis and density_xx[y_index, x_index] on the vertical axis. 
Right white line: surface_right_r vs spherical_protrusion_right (titled vertical, placed at plus 0.5 * example_length, and faced into the centre of the cavity, with identical data plotted for negative x)
Left white line: surface_left_r vs spherical_protrusion_left (titled vertical, placed at plus -0.5 * example_length, and faced into the centre of the cavity, with identical data plotted for negative x)
ii:
Heat map: optimised_mirror_mode_density on the coordinate grid laid out by density_zz vs density_xx. i.e. for all x and y indices in the arrays, the value optimised_mirror_mode_density[y_index, x_index] is placed at density_zz[y_index, x_index] on the horizontal axis and density_xx[y_index, x_index] on the vertical axis. 
Left white line: perfectly vertical
Right white line: surface_right_r vs surface_protrusion_right (titled vertical, placed at plus 0.5 * example_length, and faced into the centre of the cavity, with identical data plotted for negative x)
Left white line: surface_left_r vs surface_protrusion_left (titled vertical, placed at plus -0.5 * example_length, and faced into the centre of the cavity, with identical data plotted for negative x)
both:
Cyan cross: crosses at zero transverse coordinate and axial coordinate of z_emitter

Panel d:
i:
Black line: emitter_r_array vs emitter_intensities_spherical_mirror (identical data plotted for negative r)
Blue line: emitter_r_array vs emitter_intensities_optimised_mirror (identical data plotted for negative r)
ii:
Black line: mirror_left_r_array vs mirror_left_intensities_spherical_mirror (identical data plotted for negative r)
Blue line: mirror_left_r_array vs mirror_left_intensities_optimised_mirror (identical data plotted for negative r)
Black vertical line: 0.5 mirror_diameter_left (identical data plotted for negative r)
iii:
Black line: mirror_right_r_array vs mirror_right_intensities_spherical_mirror (identical data plotted for negative r)
Blue line: mirror_right_r_array vs mirror_right_intensities_optimised_mirror (identical data plotted for negative r)
Black vertical line: 0.5 mirror_diameter_right (identical data plotted for negative r)


