Calculates the coherence time of a light source as a function of the wavelength and the spectral width.