edf-buffered-write: reproducibility package for "Silent corruption of EDF recordings during real-time biopotential streaming: a buffered-write solution"
Abstract
Code, scripts and metric files needed to reproduce all figures and numerical results of the accompanying manuscript (under review). The package demonstrates a common antipattern in real-time biopotential acquisition with pyedflib (calling writeSamples() once per device read with fewer samples than the EDF data record), quantifies its consequences on a synthetic EMG signal (file duration inflated tenfold, RMS amplitude attenuated by a factor of approximately 3.2, dominant spectral peak attenuated by a factor of approximately 51), and provides a buffered-write pattern that eliminates the artefact at negligible computational cost.
Publication details
- Journal / source
- Zenodo (CERN European Organization for Nuclear Research)
- Publication date
- 10 May 2026
- Language
- EN