Particularly, we show how (1) the toy model of the CF-GS device in eqn. 4, (2) the modified inverse problem to predict the partial pressure of the analyte from the response of the GS, via eqn. 6, and (3) the probabilistic model and performance metric in eqn. 7 can be used to tune the residence time of the gas in the filter to maximize the performance of the CF-GS device.