A method for improved visualization of information related to the physiology of a sleeping patient is disclosed. Physiological information from the patient is obtained by a device, converted to digital format, and processed to yield epochs of time based on whether the patient was in a physiologically desirable or undesirable state. The duration of epochs is plotted as a series of rectangles and a quality-of-sleep score is calculated based on the epoch lengths.
System and method for assessing sleep quality