1. A method for determining whether to trigger an alarm, the method comprising: receiving an SpO 2 signal; performing a continuous wavelet transform of the SpO 2 signal to generate a scalogram; determining features of the scalogram; and determining whether to trigger an alarm based at least in part on the determined features.