Submitted:
30 August 2025
Posted:
02 September 2025
Read the latest preprint version here
Abstract
Keywords:
2. Design
2.1. Programming Language and Drawing Library
2.2. Viewer Design and Operation
2.2.1. Time-Scale Adjustment
2.2.2. Insert Function
2.2.3. Delete Function
2.3. Operational Flowchart and Algorithm
2.4. ECG Simulation Data for Accuracy Evaluation

3. Results
4. Discussion
5. Conclusions
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| ECG | Electrocardiogram |
| GUI | Graphical User Interface |
| HPC | High Performance Computing |
| HPF | High Performance Fortran |
| HRV | Heart Rate Variability |
| RRI | R–R Interval |
References
- Ahmad, M.; Ahmed, A.; Hashim, H.; Farsi, M.; Mahmoud, N. Enhancing Heart Disease Diagnosis Using ECG Signal Reconstruction and Deep Transfer Learning Classification with Optional SVM Integration. Diagnostics 2025, 15, 1501. [Google Scholar] [CrossRef] [PubMed]
- Nechita, L.C.; Nechita, A.; Voipan, A.E.; Voipan, D.; Debita, M.; Fulga, A.; Fulga, I.; Musat, C.L. AI-Enhanced ECG Applications in Cardiology: Comprehensive Insights from the Current Literature with a Focus on COVID-19 and Multiple Cardiovascular Conditions. Diagnostics 2024, 14, 1839. [Google Scholar] [CrossRef] [PubMed]
- Grégoire, J.M.; Gilon, C.; Carlier, S.; Bersini, H. Autonomic Nervous System Assessment Using Heart Rate Variability. Acta Cardiol. 2023, 78, 648–662. [Google Scholar] [CrossRef] [PubMed]
- Brazdzionyte, R.; Velicka, D.; Motiejunaite, K.; Poderiene, K.; Kairiukstiene, Z. Advanced ECG Analysis to Evaluate Multimodal Exercise Effects on Cardiovascular Health. Medicina 2025, 61, 473. [Google Scholar] [CrossRef]
- Beltrame, J.F.; La, S.; Marathe, J. Clinical Utility of the Humble Exercise ECG Stress Test. J. Am. Coll. Cardiol. 2024, 83, 300–302. [Google Scholar] [CrossRef]
- Peabody, J.E.; Ryznar, R.; Ziesmann, M.T.; Gillman, L. A Systematic Review of Heart Rate Variability as a Measure of Stress in Medical Professionals. Cureus 2023, 15, e34345. [Google Scholar] [CrossRef]
- Eddie, D.; Bentley, K.H.; Bernard, R.; Mischoulon, D.; Winkelman, J.W. Aggregating Heart Rate Variability Indices Across Sleep Stage Epochs Ignores Significant Variance Through the Night. Sleep Med. 2022, 90, 262–266. [Google Scholar] [CrossRef]
- Hebisz, R.G.; Hebisz, P.; Zatoń, M.W. Heart Rate Variability After Sprint Interval Training in Cyclists and Implications for Assessing Physical Fatigue. J. Strength Cond. Res. 2022, 36, 558–564. [Google Scholar] [CrossRef]
- Moura-Tonello, S.C.G.; Carvalho, V.O.; Godoy, M.F.; Porta, A.; Leal, Â.M.O.; Bocchi, E.A.; Catai, A.M. Evaluation of Cardiac Autonomic Modulation Using Symbolic Dynamics After Cardiac Transplantation. Braz. J. Cardiovasc. Surg. 2019, 34, 572–580. [Google Scholar] [CrossRef]
- Santos, M.C.S.; Silveira, L.C.L.; Moura-Tonello, S.C.G.; Porta, A.; Catai, A.M.; Souza, G.D.S. Heart Rate Variability in Multibacillar Leprosy: Linear and Nonlinear Analysis. PLoS ONE 2017, 12, e0180677. [Google Scholar] [CrossRef]
- Georgieva-Tsaneva, G.; Gospodinova, E. Heart Rate Variability Analysis of Healthy Individuals and Patients with Ischemia and Arrhythmia. Diagnostics 2023, 13, 2549. [Google Scholar] [CrossRef]
- Hargens, T.A.; Chambers, S.; Luden, N.D.; Womack, C.J. Reliability of the Heart Rate Variability Threshold During Treadmill Exercise. Clin. Physiol. Funct. Imaging 2022, 42, 292–299. [Google Scholar] [CrossRef] [PubMed]
- Kumar, S.M.; Vaishali, K.; Maiya, G.A.; Shivashankar, K.N.; Shashikiran, U. Analysis of Time-Domain Indices and Frequency-Domain Measures of Heart Rate Variability Derived from ECG Waveform and Pulse-Wave-Related HRV Among Overweight Individuals: An Observational Study. F1000Res. 2023, 12, 1229. [Google Scholar] [CrossRef] [PubMed]
- Miyagi, T.; Yamazato, M.; Nakamura, T.; Tokashiki, T.; Namihira, Y.; Kokuba, K.; Ishihara, S.; Sakima, H.; Ohya, Y. Power Spectral Analysis of Heart Rate Variability as a Screening Tool for Detecting Sympathetic and Parasympathetic Nervous Dysfunctions in Parkinson’s Disease. BMC Neurol. 2022, 22, 339. [Google Scholar] [CrossRef]
- Pan, J.; Tompkins, W.J. A Real-Time QRS Detection Algorithm. IEEE Trans. Biomed. Eng. 1985, 32, 230–236. [Google Scholar] [CrossRef]
- Neri, L.; Oberdier, M.T.; Augello, A.; Suzuki, M.; Tumarkin, E.; Jaipalli, S.; Geminiani, G.A.; Halperin, H.R.; Borghi, C. Algorithm for Mobile Platform-Based Real-Time QRS Detection. Sensors 2023, 23, 1625. [Google Scholar] [CrossRef]
- Agostinelli, A.; Marcantoni, I.; Moretti, E.; Sbrollini, A.; Fioretti, S.; Di Nardo, F.; Burattini, L. Noninvasive Fetal Electrocardiography Part I: Pan-Tompkins’ Algorithm Adaptation to Fetal R-Peak Identification. Open Biomed. Eng. J. 2017, 11, 17–24. [Google Scholar] [CrossRef]
- Yun, D.; Lee, H.C.; Jung, C.W.; Kwon, S.; Lee, S.R.; Kim, K.; Kim, Y.S.; Han, S.S. Robust R-Peak Detection in an Electrocardiogram with Stationary Wavelet Transformation and Separable Convolution. Sci. Rep. 2022, 12, 19638. [Google Scholar] [CrossRef]
- Chen, H.; Maharatna, K. An Automatic R and T Peak Detection Method Based on the Combination of Hierarchical Clustering and Discrete Wavelet Transform. IEEE J. Biomed. Health Inform. 2020, 24, 2825–2832. [Google Scholar] [CrossRef]
- Rizwan, A.; Priyanga, P.; Abualsauod, E.H.; Zafrullah, S.N.; Serbaya, S.H.; Halifa, A. A Machine Learning Approach for the Detection of QRS Complexes in Electrocardiogram Using Discrete Wavelet Transform Algorithm. Comput. Intell. Neurosci. 2022, 2022, 9023478. [Google Scholar] [CrossRef]
- Kenny, B.J.; Brown, K.N. ECG T Wave. StatPearls, 2022. Available online: https://www.ncbi.nlm.nih.gov/books/NBK538264/ (accessed on 20 August 2025).
- Tarvainen, M.P.; Niskanen, J.P.; Lipponen, J.A.; Ranta-Aho, P.O.; Karjalainen, P.A. Kubios HRV: Heart Rate Variability Analysis Software. Comput. Methods Programs Biomed. 2014, 113, 210–220. [Google Scholar] [CrossRef]
- McConnell, M.; Schwerin, B.; So, S.; Richards, B. RR-APET: Heart Rate Variability Analysis Software. Comput. Methods Programs Biomed. 2020, 185, 105127. [Google Scholar] [CrossRef]
- Pilia, N.; Nagel, C.; Lenis, G.; Becker, S.; Dössel, O.; Loewe, A. ECGdeli: An Open Source ECG Delineation Toolbox for MATLAB. SoftwareX 2021, 13, 100639. [Google Scholar] [CrossRef]
- Mayor, D.; Panday, D.; Kandel, H.K.; Steffert, T.; Banks, D. CEPS: An Open Access MATLAB Graphical User Interface for the Analysis of Complexity and Entropy in Physiological Signals. Entropy 2021, 23, 321. [Google Scholar] [CrossRef] [PubMed]
- Behar, J.A.; Rosenberg, A.A.; Weiser-Bitoun, I.; Shemla, O.; Alexandrovich, A.; Konyukhov, E.; Yaniv, Y. PhysioZoo: A Novel Open Access Platform for Heart Rate Variability Analysis of Mammalian Electrocardiographic Data. Front. Physiol. 2018, 9, 1390. [Google Scholar] [CrossRef] [PubMed]
- McSharry, P.E.; Clifford, G.D.; Tarassenko, L.; Smith, L.A. A Dynamical Model for Generating Synthetic Electrocardiogram Signals. IEEE Trans. Biomed. Eng. 2003, 50, 289–294. [Google Scholar] [CrossRef] [PubMed]
- Vest, A.N.; Li, Q.; Liu, C.; Nemati, S.; Shah, A.; Clifford, G.D. Benchmarking Heart Rate Variability Toolboxes. J. Electrocardiol. 2017, 50, 744–747. [Google Scholar] [CrossRef]
- Vest, A.N.; Da Poian, G.; Li, Q.; Liu, C.; Nemati, S.; Shah, A.J.; Clifford, G.D. An Open Source Benchmarked Toolbox for Cardiovascular Waveform and Interval Analysis. Physiol. Meas. 2018, 39, 105004. [Google Scholar] [CrossRef]
- Moody, G.B. LightWAVE: Waveform and Annotation Viewing and Editing in a Web Browser. Comput. Cardiol. 2013, 40, 17–20. [Google Scholar]
- Kulikov, I.; Chernykh, I.; Karavaev, D.; Prigarin, V.; Sapetina, A.; Ulyanichev, I.; Zavyalov, O. A New Parallel Code Based on a Simple Piecewise Parabolic Method for Numerical Modeling of Colliding Flows in Relativistic Hydrodynamics. Mathematics 2022, 10, 1865. [Google Scholar] [CrossRef]
- Kim, B.; Yoon, K.S.; Kim, H.-J. GPU-Accelerated Laplace Equation Model Development Based on CUDA Fortran. Water 2021, 13, 3435. [Google Scholar] [CrossRef]
- Kan, Y.; Liu, X.; Liu, H. An Image and State Information-Based PINN with Attention Mechanisms for the Rapid Prediction of Aircraft Aerodynamic Characteristics. Aerospace 2025, 12, 434. [Google Scholar] [CrossRef]
- Aruoba, B.; Fernández-Villaverde, J. A Comparison of Programming Languages in Macroeconomics. J. Econ. Dyn. Control 2015, 58, 265–273. [Google Scholar] [CrossRef]
- Markus, A.; Mullin, L. Implementing Mathematics of Arrays in Modern Fortran: Efficiency and Efficacy. Software 2024, 3, 534–548. [Google Scholar] [CrossRef]



| System Specifications | |
| Operating System | Windows 10, 64-bit |
| Processor | Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz 3.00 GHz |
| Installed RAM | 16.0 GB |
| Display Specifications | |
| Graphics Card | Intel(R) UHD Graphics 630 (128 MB) |
| Panel Type | 27-inch wide TFT LED, non-glare, ADS panel |
| Maximum Resolution | 1920×1080 |
| Pixel Pitch (H × V) | 0.3114 mm × 0.3114 mm |
| Display Area (H × V) | 597.888 mm × 336.312 mm |
| Maximum Colors | 16.77 million colors |
| Response Time | 14 ms [GTG] (6.1 ms [GTG] with overdrive enabled) |
| Wave | tk [sec] | Ak | σk [sec] |
|---|---|---|---|
| P | 0 | 0.15 | 0.025 |
| Q | 0.15 | -0.1 | 0.012 |
| R | 0.2 | 1 | 0.015 |
| S | 0.25 | -0.25 | 0.015 |
| T | 0.5 | 0.35 | 0.05 |
| Sampling frequency [Hz] |
Simulation RRI [ms] | GUI_RRI [ms] | ||
| Time scale [sec] | ||||
| 2 | 5 | 10 | ||
| 125 | 992±103 | 991±102 | 992±103 | 991±102 |
| 250 | 1007±97 | 1006±97 | 1006±98 | 1006±98 |
| 500 | 996±94 | 995±94 | 995±94 | 995±94 |
| 1000 | 992±100 | 992±100 | 992±100 | 992±100 |
| Sampling frequency [Hz] |
Time scale [sec] | ||
| 2 | 5 | 10 | |
| 125 | 0.146±0.264 | 0.362±0.434 | 0.694±0.601 |
| 250 | 0.168±0.186 | 0.372±0.288 | 0.674±0.492 |
| 500 | 0.188±0.142 | 0.372±0.271 | 0.649±0.491 |
| 1000 | 0.175±0.132 | 0.325±0.224 | 0.646±0.481 |
| Sampling frequency [Hz] |
Insert response time [ms] | Delete response time [ms] | ||||
| Time scale [sec] | Time scale [sec] | |||||
| 2 | 5 | 10 | 2 | 5 | 10 | |
| 125 | 28±10 | 27±17 | 27±10 | 28±10 | 28±12 | 27±12 |
| 250 | 25±8 | 26±16 | 27±13 | 26±10 | 26±10 | 26±9 |
| 500 | 28±9 | 29±14 | 28±8 | 28±9 | 28±14 | 30±11 |
| 1000 | 28±15 | 27±16 | 27±17 | 24±8 | 30±8 | 29±8 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).