Gamma ray spectroscopy