Title: Measurement of gas density with x-rays