The experimental setup. Cultured neurons grew on top of electrodes. Patterns of electrical stimulation trained the neurons to reorganize so that they could distinguish two hidden sources. Waveforms at the bottom represent the spiking responses to a sensory stimulus (red line).