Explain the physical processes by which astronomers are able to estimate the temperature of a gas by observing which spectral lines are present in its spectrum and measuring the relative strength of the lines. This process is known as Balmer thermometry.