An integrating spectrometer for measuring spectral intensities by the counting of photo-electrons