BRAVEHEART: Open-source software for automated electrocardiographic and vectorcardiographic analysis
Related Experiment Video
Updated: Jul 16, 2025

Author Spotlight: Advancing the Study of Brain-Heart Interplay with a Comprehensive EEGLAB Plugin for Multimodal Signal Analysis
Published on: April 26, 2024
Hans Friedrich Stabenau1, Jonathan W Waks1
1Harvard-Thorndike Electrophysiology Institute, Beth Israel Deaconess Medical Center, Harvard Medical School, Boston, MA, United States of America.
Background And Objectives:
Electrocardiographic (ECG) and vectorcardiographic (VCG) analyses are used to diagnose current cardiovascular disease and for risk stratification for future adverse cardiovascular events. With increasing use of digital ECGs, research into novel ECG/VCG parameters has increased, but widespread computer-based ECG/VCG analysis is limited because there are no currently available, open-source, and easily customizable software packages designed for automated and reproducible analysis.
Methods And Results:
We present BRAVEHEART, an open-source, modular, customizable, and easy to use software package implemented in the MATLAB programming language, for scientific analysis of standard 12-lead ECGs acquired in a digital format. BRAVEHEART accepts a wide variety of digital ECG formats and provides complete and automatic ECG/VCG processing with signal denoising to remove high- and low-frequency artifact, non-dominant beat identification and removal, accurate fiducial point annotation, VCG construction, median beat construction, customizable measurements on median beats, and output of measurements and results in numeric and graphical formats.
Conclusions:
The BRAVEHEART software package provides easily customizable scientific analysis of ECGs and VCGs. We hope that making BRAVEHART available will allow other researchers to further the field of ECG/VCG analysis without having to spend significant time and resources developing their own ECG/VCG analysis software and will improve the reproducibility of future studies. Source code, compiled executables, and a detailed user guide can be found at http://github.com/BIVectors/BRAVEHEART. The source code is distributed under the GNU General Public License version 3.
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Electrocardiogram Fundamentals
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin...
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...

