Electromagnetic spectroscopy