Exploring a Dynamic Template Matching Algorithm for the Automatic Extraction of <scp>P3</scp> Latencies

In this study, we explore a novel template matching algorithm using the grand average as a dynamic template to extract P3 latencies. This new algorithm outperforms peak latency and fractional area latency algorithms in both empirical as well as simulated data. A modified fractional area latency algorithm proposed by Liesefeld (2016, 2018) performed best among all previously employed approaches. It matched the performance of the template matching algorithms in the empirical data, but performed worse in the simulation. Template matching algorithms showed high agreement (ICC = 0.89) with latencies extracted by expert researchers and the most accurate recovery of simulated latency shifts (ICC = 0.91). Our results highlight the robustness of template matching algorithms across various tasks, preprocessing steps, and algorithm hyperparameters. Additionally, template matching provides a fit statistic that researchers can use to automatically discard ERPs with poor matches or flag certain ERPs for manual review. This fit statistic allows targeted manual intervention, increasing the efficiency and objectivity of latency extraction. Overall, the straightforward application of our template matching algorithm allows it to be easily integrated into multiverse studies or automated pipelines.

Authors

Institutions

Publication Details

Journal
Psychophysiology
Published
2025-12-23
DOI
https://doi.org/10.1111/psyp.70212
Primary Topic
Time Series Analysis and Forecasting
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Exploring a Dynamic Template Matching Algorithm for the Automatic Extraction of P3 Latencies

Dirk Hagemann, Kathrin Sadus, Christoph Löffler, Sven Lesche et al.
Psychophysiology
Time Series Analysis and Forecasting
article

Exploring a Dynamic Template Matching Algorithm for the Automatic Extraction of P3 Latencies

Dirk Hagemann, Kathrin Sadus, Christoph Löffler, Sven Lesche, Anna‐Lena Schubert
article en

Abstract

In this study, we explore a novel template matching algorithm using the grand average as a dynamic template to extract P3 latencies. This new algorithm outperforms peak latency and fractional area latency algorithms in both empirical as well as simulated data. A modified fractional area latency algorithm proposed by Liesefeld (2016, 2018) performed best among all previously employed approaches. It matched the performance of the template matching algorithms in the empirical data, but performed worse in the simulation. Template matching algorithms showed high agreement (ICC = 0.89) with latencies extracted by expert researchers and the most accurate recovery of simulated latency shifts (ICC = 0.91). Our results highlight the robustness of template matching algorithms across various tasks, preprocessing steps, and algorithm hyperparameters. Additionally, template matching provides a fit statistic that researchers can use to automatically discard ERPs with poor matches or flag certain ERPs for manual review. This fit statistic allows targeted manual intervention, increasing the efficiency and objectivity of latency extraction. Overall, the straightforward application of our template matching algorithm allows it to be easily integrated into multiverse studies or automated pipelines.

PsychophysiologyVol. 63(1)
University of Applied Sciences Mainz (DE), Johannes Gutenberg University Mainz (DE), Heidelberg University (DE), Heidelberg Engineering (Germany) (DE), Heidelberg University (US)
Deutsche Forschungsgemeinschaft
Openalex Percentile: Top 35%
Time Series Analysis and Forecasting
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.