Spectral study of light with a very low intensity by means of the measurement of laplace or fourier transform of the time-interval probability