X-ray spectra