Rework the text to be more logical:
From the X-ray energy spectrum and flux, the gas temperature and density can be estimated,. Giving the pressure.
From the X-ray energy spectrum and flux, the gas temperature and density can be estimated, hence giving the pressure.