# Hypnogram

A hypnogram is a form of polysomnography; it is a graph that represents the stages of sleep as a function of time. It was developed as an easy way to present the recordings of the brain wave activity from an electroencephalogram (EEG) during a period of sleep. It allows the different stages of sleep: rapid eye movement sleep (REM) and non-rapid eye movement sleep (NREM) to be identified during the sleep cycle. NREM sleep can be further classified into NREM stage 1, 2 and 3. The previously considered 4th stage of NREM sleep has been included within stage 3; this stage is also called slow wave sleep (SWS) and is the deepest stage of sleep.

## Method

Hypnograms are usually obtained by visually scoring the recordings from electroencephalogram (EEGs), electrooculography (EOGs) and electromyography (EMGs).
The output from these three sources is recorded simultaneously on a graph by a monitor or computer as a hypnogram. Certain frequencies displayed by EEGs, EOGs and EMGs are characteristic and determine what stage of sleep or wake the subject is in. There is a protocol defined by the American Academy of Sleep Medicine (AASM) for sleep scoring, whereby the sleep or wake state is recorded in 30-second epochs. Prior to this the Rechtschaffen and Kales (RK) rules were used to classify sleep stages.

## Output
### Normal sleep

Cycles of REM and non-REM stages make up sleep. A normal healthy adult requires 7–9 hours of sleep per night. The number of hours of sleep is variable, however the proportion of sleep spent in a particular stage remains mostly consistent; healthy adults normally spend 20–25% of their sleep in REM sleep. During rest following a sleep-deprived state, there is a period of rebound sleep which has longer and deeper episodes of SWS to make up for the lack of sleep.
On a hypnogram, a sleep cycle is usually around 90 minutes and there are four to six cycles of REM/NREM stages that occur during a major period of sleep. Most SWS occurs in the first one or two cycles; this is the deepest period of sleep. The second half of the sleeping period contains most REM sleep and little or no SWS and may contain brief periods of wakefulness which can be recorded but are not usually perceived. The stage that occurs before waking is normally REM sleep.
Hypnograms for healthy persons vary slightly according to age, emotional state, and environmental factors.

### Disrupted sleep

Sleep architecture can be evaluated using hypnograms, demonstrating irregular sleeping patterns associated with sleep disorders. Disruptions or irregularities to the normal sleep cycle or sleep stage transitions can be detected; for example a hypnogram can show that in obstructive sleep apnea (OSA) the stability of transition between REM and NREM stages is disrupted.
The effects of certain medications on sleep architecture can be visualised on a hypnogram. For example, the anticonvulsant Phenytoin (PHT) can be seen to disrupt sleep by increasing the duration of NREM stage 1 and decreasing the duration of SWS; whereas the drug Gabapentin is seen to revive sleep by increasing the duration of SWS.

## Analysis

The main use of a hypnogram is as a qualitative method to visualise the time period of each stage of sleep, as well as the number of transitions between stages. Hypnograms are rarely used to provide quantitative data, however it has been suggested that statistical evaluation can be carried out using multistate survival analysis and log-linear models to provide numerical significance.

## Limitations

The restrictions of measuring sleep at short 30-second epochs limits the ability to record events shorter than 30 seconds; hence, the macrostructure of sleep can be evaluated while the microstructure is not. The sleep process is smoothened out in hypnogram results unlike it occurs naturally. Also some specific features of sleep such as sleep spindles and K complexes may not be defined in the hypnogram; this is particularly true for sleep scoring that is automated.
The method of obtaining the data used in a hypnogram is restricted to the input from an EEG, EOG or EMG. The interval of recording may include features from several stages, in which case it is recorded as the stage whose features occupy the recording for the longest duration. For this reason, the stage of sleep may be misrepresented on the hypnogram.

## Research directions

Suggestions to improve the automated output of hypnograms to provide more reliable and accurate results include increasing the measures of sleep, for example by additionally measuring sleep with an electrocardiogram (ECG). Another advancement involves combining hypnograms with color density spectral arrays to improve the quality of sleep analysis.