. . "Preferably, the moving threshold is a short term moving average calculated based on only, for example, the last three respiration cycles or based on a similar interval of time." . .