bioRxiv Science⌕ Search

Biology subjects

Khodami, M. A.

Publications and source records attributed to Khodami, M. A..

2 recordsLinked to original sources

Adaptive Reconstruction of Pupil Dynamics During Blink Data Loss: A Physiologically-Informed Exponential Recovery and Noise Modelling Framework

This paper presents a novel, physiologically inspired framework for reconstructing missing pupil data during blink-induced interruptions. Pupillometry has become integral to studies of cognition, emotion, and neural function, yet the frequent data gaps caused by blinks can compromise the accuracy of inferences drawn from pupil measurements. This approach addresses these challenges by introducing an exponential recovery model that dynamically adjusts its time constant in proportion to blink duration, thus capturing the non-linear dynamics of pupil responses more effectively than traditional interpolation methods. A localised noise estimation procedure further enhances realism by incorporating both signal-dependent and baseline noise derived from statistical properties of the data surrounding each blink. Additionally, a Savitzky-Golay filter is selectively applied to the reconstructed intervals, preserving key physiological features while mitigating high-frequency artefacts. To facilitate the implementation of our framework, we introduce PRPIP, a Python package that implements our methodology. This work demonstrates the effectiveness of this method using empirical pupil data from visual tasks, illustrating that the reconstructed signals maintain physiological fidelity across a range of blink durations. These findings underscore the potential of combining physiological principles with data-driven noise modelling to generate robust, continuous pupil traces. By offering a more accurate reconstruction of pupil size, this framework stands to advance pupillometric research in fields ranging from cognitive psychology to clinical neuroscience.

bioinformatics↗

A Dynamic Threshold-Based Method for Robust and Accurate Blink Detection in Eye-Tracking Data

Blink detection is a critical component of eye-tracking research, particularly in pupillometry, where data loss due to blinks can obscure meaningful insights. Existing methods often rely on fixed thresholds or device-specific noise profiles, which may lead to inaccuracies in detecting blink onsets and offsets, especially in heterogeneous datasets. This study introduces a novel blink detection model that dynamically adapts to varying pupil size distributions, ensuring robustness across different experimental conditions. The proposed method integrates dynamic thresholding, which adjusts based on the mean pupil size of valid samples, Gaussian smoothing, which reduces noise while preserving signal integrity, and adaptive boundary refinement, which refines blink onsets and offsets based on a trends in the smoothed data. Unlike traditional approaches that merge closely spaced blinks, this model treats each blink as an independent event, preserving temporal resolution, which is essential for cognitive and perceptual studies. The model is computationally efficient and adaptable to a wide range of sampling rates, from low-frequency (e.g., 250 Hz) to high-frequency (e.g., 2000 Hz) data, ensuring consistent blink detection across different eye-tracking setups, making it suitable for both real-time and offline eye-tracking applications. Experimental evaluations demonstrate its ability to accurately detect blinks across diverse datasets. By offering a more reliable and generalizable solution, this model advances blink detection methodologies and enhances the quality of eye-tracking data analysis across research domains.

neuroscience↗