Motion encoder pulses were converted to speed using a counter and LabView software (National Instruments), for online visualization of speed. To synchronize behavioural and neuronal data, voltage ...