Text this: Pathlength Determination for Gas in Scattering Media Absorption Spectroscopy