Establish local normal
Breath timing, amplitude, duty cycle, and inspiratory shape are compared against the immediately preceding stable breaths.
Find sustained shifts into awake-like breathing, then look backward for circuit-visible suspects. “Sleep-wake junk” becomes the signal, not the trash.
Drop a DATALOG folder or select individual BRP, PLD, and EVE files. Sessions shorter than 30 minutes disappear first; surviving sessions are combined into noon-to-noon sleep nights.
Breath timing, amplitude, duty cycle, and inspiratory shape are compared against the immediately preceding stable breaths.
A candidate needs a sustained rise in irregularity—the direction expected for sleep-to-wake, not just any morphology change.
After each transition, the detector follows morphology until rhythm and variability return toward the local sleeping baseline.
Leak, flow limitation, central waxing/waning, event flags, long pauses, and pressure movement compete as precursor evidence.