arXiv:2608.24241physics.med-phAug 2026

Manuscript Offprint

arXiv:2608.24241

Validation of HRV Studio: A Transparent and Quality-Control-Aware Platform for Heart Rate Variability Analysis

Cyrus Mexon Evrard Djindot, Faliang Liu, Sylvain Laborde, Yinjia Zhang, Jessie Chen, Ming Li, Congrong Wang, Weixiong Rao, Qinpei Zhao

Abstract

Background and Objective: Reproducibility of heart rate variability (HRV) analysis is heavily hindered by "black-box" commercial platforms and complex code-based libraries, coupled with extreme sensitivity to pre-processing conventions. To bridge this gap, we developed and validated HRV Studio—an open-source PyQt6-based desktop application that integrates an interactive, audited graphical user interface (GUI) with a transparent, automated quality-control (QC) layer to support reproducible physiological research.

Methods: We validated the platform using a rigorous, six-stage framework: (1) large-scale numerical agreement against NeuroKit2 using normal-sinus-rhythm recordings; (2) targeted benchmarking against Kubios on a curated 44-recording subset; (3) alternative spectral-method comparison (Welch, FFT, autoregressive); (4) synthetic robustness testing under controlled noise, missed beats, and ectopy; (5) recording-duration sensitivity analysis (30 s to 10 min); and (6) software stress-testing using the MIT-BIH Arrhythmia Database to evaluate automated QC warning performance.

Results: Under harmonized short-term segment-linear settings, HRV Studio demonstrated strong agreement with NeuroKit2 across complementary HRV domains. In the primary five-minute comparison, median relative errors were 1.35% for LF, 0.18% for HF, 1.41% for LF/HF, 0.42% for LFnuLF_{nu}, and 0.81% for HFnuHF_{nu}, while total power (13.57%) and VLF (37.79%) remained more convention-sensitive. Time-domain indices showed excellent agreement for RMSSD and SDNN (median relative errors <0.01%), while nonlinear Poincaré descriptors SD1 and SD2 also demonstrated high consistency under matched conditions. Extended ten-minute analyses used for sensitivity assessment showed the same overall metric-dependent pattern, with generally lower disagreement for convention-sensitive spectral outputs. Targeted Kubios benchmarking after NN-sequence harmonization demonstrated near-identical agreement for time-domain and nonlinear indices and strong agreement for most frequency-domain measures, with median relative errors below 6% for LF, HF, total power, LF/HF, LFnuLF_{nu}, and HFnuHF_{nu}; VLF retained the largest residual error (14.01%). An additional matched Smoothness Priors sensitivity analysis demonstrated substantially closer agreement for autoregressive spectral estimates than for FFT-derived estimates. Synthetic perturbations and arrhythmia stress-testing yielded 100% numerical stability and consistently surfaced automated QC warnings under degraded or non-normal rhythm conditions. Welch PSD estimation demonstrated greater methodological stability than FFT and autoregressive alternatives, while duration analysis showed substantially greater instability in ultra-short recordings and persistent, non-monotonic sensitivity across short-term durations.

Conclusions: HRV Studio provides a benchmarked and validated, highly transparent alternative for physiological research. Its primary strengths lie in its reproducible preprocessing framework, quality-control-aware workflow, and validated computation across complementary HRV domains, including time-domain, frequency-domain, and nonlinear indices. The validation demonstrated high numerical consistency for commonly used time-domain measures such as RMSSD and SDNN, nonlinear Poincaré descriptors, and most frequency-domain measures when effective NN sequences, preprocessing settings, and spectral conventions were explicitly harmonized, while identifying VLF as particularly sensitive to methodological choices. Crucially, while the software shows high computational robustness under degraded and arrhythmic signals, these evaluations serve strictly as software stress tests rather than clinical or diagnostic validation.

Index Terms— heart rate variability (HRV), signal processing, physiological computing, spectral analysis, software validation, quality control, reproducibility.

1. Introduction

Heart rate variability (HRV), defined as the variation in timing between successive cardiac intervals, is a widely used framework for quantifying autonomic and cardiorespiratory dynamics in biomedical engineering, physiology, and clinical research [1], [2], [3]. HRV analysis has been applied across domains including cardiovascular physiology, stress and recovery assessment, sleep research, exercise science, neurophysiology, and disease monitoring because interval dynamics may reflect interactions among autonomic, respiratory, and regulatory processes [1], [2], [4], [5], [6]. Its breadth of use has been theorized to stem from its ability to index overall self-regulation mechanisms related to cardiac vagal activity, as outlined in the neurovisceral integration model [7] and the vagal tank theory [8]. Standard HRV analysis typically includes time-domain, frequency-domain, and nonlinear measures derived from normal-to-normal (NN) interval sequences, with metrics such as the standard deviation of normal-to-normal intervals (SDNN), root mean square of successive differences (RMSSD), low-frequency power (LF), high-frequency power (HF), and the low-frequency to high-frequency power ratio (LF/HF) frequently reported across experimental settings [1], [2].

Despite widespread use, HRV estimation is highly sensitive to methodological conventions. Reported values can be materially affected by preprocessing decisions, artifact correction, interpolation rate, detrending strategy, spectral estimation method, frequency-band implementation, and recording duration [1], [3], [9], [10], [11], [12], [13], [14]. In particular, frequency-domain estimates may vary substantially across software frameworks because differences in power spectral density (PSD) computation, direct-current (DC) handling, frequency-bin integration, and segment processing can influence low-frequency power estimates even when identical physiological recordings are analyzed [9], [15]. Such variability complicates cross-platform reproducibility and can obscure whether disagreement arises from methodological assumptions or underlying physiological signal content [16]. These challenges motivate the need for transparent and reproducible HRV workflows in which preprocessing assumptions, spectral conventions, and quality-control (QC) indicators are explicitly surfaced rather than hidden from the user. Recent methodological literature has emphasized reproducibility, preprocessing transparency, and standardized HRV reporting to improve interpretability and comparability across studies [2], [5], [17], [18]. In this context, software validation should extend beyond numerical output alone and include explicit assessment of preprocessing behavior, robustness under degraded signal conditions, and visibility of conditions that may reduce interpretability. Contemporary HRV analysis frameworks generally compute metrics spanning time-domain, frequency-domain, and nonlinear representations of interval variability [2]. Time-domain metrics, such as SDNN and RMSSD, summarize overall and short-term variability, whereas frequency-domain measures estimate power within physiologically defined spectral bands including very-low-frequency (VLF), LF, and HF components [1], [2]. Nonlinear methods, including Poincaré analysis, entropy measures, and detrended fluctuation analysis (DFA), further characterize signal complexity and temporal organization [2], [19].

Frequency-domain estimation remains particularly sensitive to methodological implementation. Common PSD approaches include Welch spectral estimation, fast Fourier transform (FFT)-based periodograms, and autoregressive (AR) modeling, each involving distinct assumptions regarding segmentation, smoothing, spectral resolution, and noise behavior [9], [20], [21]. Welch methods are widely used because they provide stable PSD estimates through segmented averaging, whereas FFT and AR approaches may exhibit greater sensitivity to detrending conventions, model order, or low-frequency spectral behavior [9], [15], [22]. Consequently, seemingly small implementation differences can produce materially different frequency-domain outputs despite identical RR interval data. Several open-source and commercial frameworks are commonly used for HRV analysis. NeuroKit2, a widely adopted Python toolbox for neurophysiological signal processing, provides integrated time-domain, frequency-domain, and nonlinear HRV estimation together with transparent parameterization and reproducible workflows [4]. Kubios HRV, based on a graphical user interface, is another extensively used platform and has become a common benchmark in methodological HRV studies because of its mature preprocessing and spectral-analysis implementation [23]. However, cross-platform comparison remains challenging because software packages frequently differ in detrending defaults, interpolation behavior, PSD integration conventions, and artifact correction strategies [24], [25]. Methodological recommendations also emphasize the importance of recording duration. The 1996 Task Force standards recommended approximately 5 min recordings for short-term frequency-domain HRV analysis, while cautioning against interpretation of VLF from short recordings because of limited low-frequency resolution [1]. Regarding RMSSD, the most commonly used time-domain index, a minimum recording duration of one minute is recommended to reliably index cardiac vagal activity [3]. More recent studies similarly report reduced reliability and increased instability in ultra-short recordings, particularly for frequency-domain measures and ratio-based outputs [10], [26], [27]. Consequently, recording duration remains an important determinant of interpretability in HRV validation studies. Finally, recordings containing substantial arrhythmia or ectopic activity are generally unsuitable as primary material for standard HRV agreement validation because rhythm irregularity can fundamentally alter interval dynamics and complicate interpretation of conventional HRV metrics [1], [28]. Such recordings are therefore more appropriately treated as robustness and preprocessing stress-test conditions rather than evidence of physiological or methodological equivalence.

HRV Studio was developed as a transparent, reproducible, and quality-control-aware HRV analysis platform intended to support research workflows rather than function as a diagnostic system. The software integrates interval preprocessing, artifact correction, spectral analysis, nonlinear HRV estimation, visualization, and export within a unified Python/PyQt6 desktop environment while exposing preprocessing assumptions and QC diagnostics to the user. As an open-source, GUI-based platform designed for modular integration into physiological monitoring pipelines—including HRV-based glucose prediction and stress-monitoring applications—HRV Studio addresses a gap not covered by existing code-based libraries or closed-source commercial tools.

The objective of the present study was to evaluate HRV Studio through a staged software-validation framework emphasizing agreement under matched preprocessing and spectral settings, robustness to controlled signal perturbations, recording-duration sensitivity, quality-control transparency and warning behavior, and targeted benchmark comparison under constrained matched conditions. Validation included large-scale comparison against NeuroKit2 using normal-sinus-rhythm recordings, a manually reviewed Kubios benchmark subset, methodological evaluation of FFT and AR spectral approaches, synthetic perturbation testing, and arrhythmia-focused robustness assessment. Recordings from the MIT-BIH Arrhythmia Database (MITDB) were used exclusively as engineering robustness and quality-control stress-test data to evaluate preprocessing behavior, numerical stability, and warning performance under heterogeneous rhythm conditions.

References (37)