loading page

Automatically Extracting P3 Latencies Using a Dynamic Template Matching Algorithm
  • +2
  • Sven Lesche,
  • Kathrin Sadus,
  • Anna-Lena Schubert,
  • Christoph Löffler,
  • Dirk Hagemann
Sven Lesche
Universitat Heidelberg Psychologisches Institut

Corresponding Author:sven.lesche@psychologie.uni-heidelberg.de

Author Profile
Kathrin Sadus
Universitat Heidelberg Psychologisches Institut
Author Profile
Anna-Lena Schubert
Johannes Gutenberg Universitat Mainz Psychologisches Institut
Author Profile
Christoph Löffler
Universitat Heidelberg Psychologisches Institut
Author Profile
Dirk Hagemann
Universitat Heidelberg Psychologisches Institut
Author Profile

Abstract

In this study, we introduce a 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. Template matching algorithms showed the highest correlation with latencies extracted by expert researchers and the most accurate recovery of simulated latency shifts. 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 template matching algorithm is objective, efficient, reliable, and more valid than previous methods such as peak latency or fractional area latency. Finally, the straightforward application of our template matching algorithm allows it to be easily integrated into multiverse studies or automated pipelines.
09 Dec 2024Submitted to Psychophysiology
10 Dec 2024Submission Checks Completed
10 Dec 2024Assigned to Editor
10 Dec 2024Review(s) Completed, Editorial Evaluation Pending
15 Jan 2025Reviewer(s) Assigned