The raw data of the DEMS measurement is pre-treated with a smoothening, normalization, and baseline correction, before the gas concentrations are calculated. A comparison of the data from raw data through the different steps of pretreatment is given in Figure a)c). Note that m/z values of 1, 3 and 4 were excluded for the analysis, a more detailed description of the algorithm is given in the supporting information.