The computer is programmed so that it records beam breaks at each photocell as well as instances in which beam breaks occur at successive photocells. Beam breaks at a single photocell provide a measure of stereotyped movements, such as head bobbing, grooming, circling etc.