Closed-loop neurophysiology has been accelerated by recent software and hardware developments and by the emergence of novel tools to control neuronal activity with spatial and temporal precision, in which stimuli are delivered in real time based on recordings or behavior. Real-time stimulation feedback enables a wide range of innovative studies of information processing and plasticity in neuron…