Computer-enhanced analytical spectroscopy