Motor-evoked potentials (MEP) are an important response phenomenon in brain stimulation, such as transcranial magnetic stimulation (TMS). MEPs provide one of the few directly observable responses of the brain to stimuli. Furthermore, MEPs are a key to understanding the biophysical and neurophysiological mechanisms of brain stimulation, to establishing safety limits, to matching different devices or coils, and to achieving individual dosing. The so-called motor threshold is defined based on MEPs as a low stimulation amplitude that generates first reliably detectable responses and is the key safety as well as dosage reference level.
Conventionally, the amplitude of MEPs is quantified by their peak-to-peak voltage. Despite the simplicity, it is relatively insensitive to weak MEP waves but highly susceptible to noise. Since it uses positive and negative maxima, it is sensitive to outliers of distributions and converts also simple interferences and noises, such as additive Gaussian noise, into highly skewed and mathematically intricate extreme-value distributions. Strictly, those extreme-value distributions have to be considered for correct statistical analysis, but practically rarely are.
We assume that each MEP measurement comprises a volley of multiple motor unit action potentials (MUAPs) that share the same shape but with different latencies and amplitudes. Specifically,
where
data.mat : example MEP data, 517 measurements with stimulation strengths.
main.m : the main program, including learning MUAP, decompostion, re-construction, and Vpp readings.