Time averaging by means of a computer controlled dye-laser spectrometer