Neurophysiological basis of EEG. (a) EEG signals reflect electrical brain activity that arises from the synchronous activation of groups of pyramidal neurons in the cerebral cortex. Excitatory postsynaptic potentials (EPSPs) generate dipoles by creating separation of charge perpendicular to the surface of the cortex. (b) Communication between neurons is mediated at the synapse. The arrival of an action potential at the presynaptic terminal leads to vesicular release of a neurotransmitter (NT) into the synaptic cleft, which then diffuses to reach membrane receptors on the postsynaptic terminal and trigger an EPSP. (c) The cerebral neocortex is organized in six layers (I–VI) with different cytoarchitectural characteristics. The majority of EEG signals are generated by pyramidal neurons located primarily in layers III and V. These neurons are spatially aligned perpendicular to the cortical surface, which yields a dipole layer orthogonal to the surface of the scalp. EEG activity is measured as differences in voltages recorded at different locations on the scalp, which constitute the summation of postsynaptic potentials from thousands of neurons near each recording electrode. (d) To reach scalp electrodes, EEG signals cross several layers of non-neural tissues with different conduction properties that attenuate the signal. (e) Electrodes are positioned on the scalp in defined configurations, which depend on the functional area of the cortex that is monitored to drive eBCI control.