This is the MATLAB code repository for the ECG simulator described in L. Bachi, H. Halvaei, C. Pérez, A. Martín-Yebra, A. Petrėnas, A. Sološenko, L. Johnson, V. Marozas, J. P. Martínez, E. Pueyo, M. Stridh, P. Laguna, and L. Sörnmo, ECG Modeling for Simulation of Arrhythmias in Time-Varying Conditions, IEEE Transactions on Biomedical Engineering, 2023, https://doi.org/10.1109/TBME.2023.3288701.
Additional documentation in the form of a user guide will be included here shortly.
The simulator is best used by setting the simulation parameters in the "simECG_main.m" script, and running the script. In order to run, the simulator requires data files which can be downloaded at https://drive.google.com/drive/folders/102qJePxOXoY1b9GSeYLFgxjiP2WPa5N3?usp=sharing
The authors have no intention of adding additional functionalities to the simulator. However, reporting of bugs or unintended behaviors of the code is very appreciated. If you wish to report a bug or an unintened behavior of the ECG simulator, please email [email protected], possibly by documenting the issue with screenshots.
This ECG simulator is built on the simulator described in A. Petrėnas, V. Marozas, A. Sološenko, R. Kubilius, J. Skibarkienė, J. Oster and L. Sörnmo, "Electrocardiogram modeling duringparoxysmal atrial fibrillation: application to the detection of brief episodes", Physiological Measurement, 2017, https://doi.org/10.1088/1361-6579/aa9153. In the same fashion of its predecessor, this simulator is licensed with GNU General Public License version 3, and is free and open source: https://www.gnu.org/licenses/gpl-3.0.html
Contributors of this code repository:
Lorenzo Bachi, PhD student at Scuola Superiore Sant'Anna, Pisa [email protected]
Cristina Perez, PhD student at Universidad de Zaragoza, Spain [email protected]
Hesam Halvaei, PhD student at Lund University, Lund, Sweden [email protected]