I. Introduction
The measurement of sleep, intended as the combination of physiological changes in the brain, heart, muscles and lungs is a complex task, with healthy and disordered sleep presenting unique characteristics and mechanisms. In clinical practice, a person with suspected sleep disorders will spend a night with multiple sensors placed on their body and receive a diagnosis after a detailed analysis from a trained sleep technician. The technical system that allows this procedure is called polysomnography (PSG).