A quick IR headspace gas measurement