Comparing spectra of two light sources