Densities of water vapor can be detected and quantified at a high sampling
rate for a gas. The gas can be contained within a sample chamber within
or outside of an instrument enclosure. A first split beam passes through
the enclosure and the sample chamber while a second split beam that
passes only through the enclosure provides a reference that can be used
to correct for ambient humidity in the instrument enclosure.