The analysis of optical spectra by fourier methods