Automated analysis of sleep in the rat.

The four sleep states of the rat were identified by an on-line or a rapid off-line method of automated analysis of the ECoG and EMG.