Deconvolution of absorption spectra