Overview & Biosemiotic Principles
An Event-Related Potential (ERP) is a highly structured, time-locked brain electrical response generated in reaction to an explicit sensory, cognitive, or motor event. These potentials are embedded directly within the ongoing background activity of electroencephalographic (EEG) traces recorded from the scalp surface. Because the amplitude of a raw microvolt-scale cognitive response ($1$ to $10\ \mu\text{V}$) is significantly smaller than the magnitude of ambient background cortical rhythms, skeletal muscle interference (electromyography, EMG), or external environmental line noise ($10$ to $100\ \mu\text{V}$), standard visual inspection cannot readily isolate individual stimulus cycles.
Mathematically, the signal-to-noise ratio (SNR) is optimized by repeating stimulus presentations over many independent trials and averaging the resulting epoch segments. In this framework, the continuous scalp potential $x_i(t)$ recorded during the $i$-th stimulation trial is expressed as:
$$x_i(t) = s(t) + n_i(t)$$
where $s(t)$ represents the stable, invariant neural response generated consistently following stimulus onset, and $n_i(t)$ represents the independent, identically distributed background noise present during trial $i$. Assuming that the noise $n_i(t)$ possesses a mean value of zero, is uncorrelated with the stimulus timeline, and maintains stationary variance across epochs, the expected value of the averaged trace over $N$ trials is computed as:
$$\text{ERP}(t) = \frac{1}{N}\sum_{i=1}^N x_i(t) = s(t) + \frac{1}{N}\sum_{i=1}^N n_i(t)$$
By computing this summation, the residual noise variance decreases at a rate proportional to $1/\sqrt{N}$. This allows consistent cognitive processing peaks, such as the visual face-sensitive $N170$ component, the attentional $P300$ component, or semantic-mismatch $N400$ waves, to emerge from what previously appeared to be chaotic, non-stationary background waves.
Future Directions
Planned updates for the ERP Interactive Visualizer aim to introduce full multi-channel topological mapping across 32-channel 10-20 system configurations. This layout will demonstrate spatial scalp potential topographies as animated heatmaps.
Additional updates will introduce custom artifact rejection protocols (eye blinks and muscle twitch rejection thresholds) alongside spatial blind source separation routines (Independent Component Analysis, ICA) to isolate ocular movement artifacts from cortical signals.