Parameters
i : angle of incidence
d : grating pitch
lam : wavelength
k : diffraction order
id : diffraction angle
fi : effective focal length of the optical system ( fi is positive as the optical system is converging )
dy : spectral dispersion ( shift of the diffracted spot in the focal plane for a wavelength shift of + 1 nm )