Removing unwanted CO2 and water vapor from a gas phase spectrum.