An advantage of the fire alarm algorithm is that the signal to noise ratio for the temporal derivatives of measurements improves more rapidly with increasing time window length than does the signal-to-noise ratio for the mean of data points within the time window; this allows the alarm threshold to be set at a more sensitive value without causing noise-generated false alarm. A second advantage is that the alarm point is insensitive to constant offsets in the gas concentration measurements.