Home Publications Certifications LinkedIn GitHub Email

Analysing heart rate data from ECGs

ECG measures look like this.

SinusRhythms (image from ecgwaves.com)

Each component tells us different things about heart activity, but what if we are interested in heart rate and variability in heart rate measures?


First we need to figure out when the peaks are (R), which can be done using some algorithms. Below is an example. Links to the original code is in the notebook.

Ones the timestamps are calculated, one can look at various measures of heart beat. For example, RMSSD is a typical measure of heart rate variability, which generally decreases with age.