Sign in
NeurosciencebioRxiv
Preprint

LatenZy, non-parametric, binning-free estimation of latencies from neural spiking data

Robin HaakiD, J. Alexander HeimeliD

Abstract

Precisely estimating the onset of neural spiking responses and the timing at which activity begins to diverge between conditions is crucial for understanding temporal dynamics in brain information processing. Conventional methods require arbitrary parameter choices such as bin widths and response thresholds, limiting reproducibility and comparability. Here, we present latenZy and latenZy2, two non-parametric, binning-free methods that directly analyze spike times using cumulative statistics and iterative refinement, without assumptions about response shape. LatenZy estimates neuronal response onset latency, while latenZy2 detects when spiking activity diverges between conditions. We validate these methods on electrophysiological datasets from mouse and macaque visual cortex, and show that they outperform standard approaches in precision, robustness, sensitivity, and statistical power. LatenZy captures contrast-dependent latency shifts and hierarchical timing across visual areas, and latenZy2 reveals earlier attentional modulation in higher visual cortex consistent with top-down feedback. Together, they offer scalable, parameter-free tools for reliable latency estimation in large-scale neural recordings. Open-source implementations are available in Python and MATLAB.

PDFDOI

02 /Specification & Classification

Click any tag to browse matching papers

Reproducibility ledger

Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.

Sign in to file a reproducibility report.

Similarity Map
SelectedSame fieldCross-field
THISSabri '25Montijn '23Montijn '20Williams '19Muralidhara '26Herbst '22
66% semantic matchNeuroscience
Ehsan Sabri, Renata Batista‐Brito·PLoS Computational Biology·Jun 4, 2025· 1 citations