X-Ray Spectra Analysis