% Wavelengths and field angles lam1 486[nm] Wavelength 1 lam2 546[nm] Wavelength 2 lam3 656[nm] Wavelength 3 lam_mean (lam1+lam2+lam3)/3 Mean wavelength theta_x1 0.000[deg] Field angle 1, x-component theta_y1 0.000[deg] Field angle 1, y-component theta_x2 0.125[deg] Field angle 2, x-component theta_y2 0.000[deg] Field angle 2, y-component theta_x3 0.250[deg] Field angle 3, x-component theta_y3 0.000[deg] Field angle 3, y-component % Entrance pupil etc N_ring 12 Number of hexapolar rings P_nom 203.2[mm] Nominal entrance pupil diameter F_nom 10.0 Nominal focal ratio f_nom F_nom*P_nom Nominal focal length theta_Airy 1.22*lam_mean/P_nom Airy disc angular radius r_Airy f_nom*theta_Airy Airy disc radius % Ray launch parameters vz -1 Ray direction vector, z-component vx1 tan(theta_x1) Ray direction vector, x-component vy1 tan(theta_y1) Ray direction vector, y-component vx2 tan(theta_x2) Ray direction vector, x-component vy2 tan(theta_y2) Ray direction vector, y-component vx3 tan(theta_x3) Ray direction vector, x-component vy3 tan(theta_y3) Ray direction vector, y-component dz 20[mm] Ray launch z-coordinate dx1 -dz*tan(theta_x1) Ray launch, field 1, x-coordinate dy1 -dz*tan(theta_y1) Ray launch, field 1, y-coordinate dx2 -dz*tan(theta_x2) Ray launch, field 2, x-coordinate dy2 -dz*tan(theta_y2) Ray launch, field 2, y-coordinate dx3 -dz*tan(theta_x3) Ray launch, field 3, x-coordinate dy3 -dz*tan(theta_y3) Ray launch, field 3, y-coordinate