% White Pupil Echelle Spectrograph parameters: N_hex 10 Number of hexapolar rings % Optical axis directions: xi sin(theta_i) Input optical axis, x-component yi 0 Input optical axis, y-component zi cos(theta_i) Input optical axis, z-component % Remaining spectrograph definitions: F f_1/B Input focal ratio NA 0.5/F Input numerical aperture T_ech 31.6[mm^-1] Echelle grating line frequency sigma_ech 1/T_ech Echelle grating line spacing % Wavelength and orders mlam 2*sigma_ech*cos(gamma_ech)*sin(theta_B) Order number times wavelength constant lam_min 450[nm] Nominal minimum wavelength lam_max 600[nm] Nominal maximum wavelength m_max round(mlam/lam_min) Maximum order number m_min round(mlam/lam_max) Minimum order number m_mid (m_max+m_min)/2-2 Middle order number