LatenZy, non-parametric, binning-free estimation of latencies from neural spiking data
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.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Organism
- Assay
- Research Focus
- Approach
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.
Related papers
- Isolating Single Cycles of Neural Oscillations in Population Spiking
Ehsan Sabri, Renata Batista‐Brito·PLoS Computational BiologyPeer-reviewed·Jun 4, 2025
- A new family of statistical tests for neuronal spiking and autocorrelated timeseries data
Jorrit Steven Montijn, Guido T. Meijer, J. Alexander Heimel·bioRxiv·Oct 30, 2023
- ZETA: a parameter-free statistical test for neuronal responsiveness
Jorrit Steven Montijn, Koen Seignette, … J. Alexander Heimel·bioRxiv·Sep 24, 2020
- Discovering precise temporal patterns in large-scale neural recordings through robust and interpretable time warping
Alex H. Williams, Ben Poole, … Surya Ganguli·NeuronPeer-reviewed·Nov 27, 2019
- Live Spike Sorting of Large-scale Neural Recordings
Shreyas Muralidharan, Calvin Leng, … Tirin Moore·bioRxiv·Apr 12, 2026
- Implicit versus explicit timing - separate or shared mechanisms?
Sophie K. Herbst, Jonas Obleser, Virginie van Wassenhove·Journal of Cognitive NeurosciencePeer-reviewed·Jan 1, 2022