A technique for recording the behavior and the EEG of a patient simultaneously; changes in behavior can be correlated with changes in the EEG.