- Research
- Open Access
- Published:

# A new approach for analysis of heart rate variability and QT variability in long-term ECG recording

*BioMedical Engineering OnLine*
**volume 17**, Article number: 54 (2018)

## Abstract

### Background and purpose

With the emergence of long-term electrocardiogram (ECG) recordings that extend several days beyond the typical 24–48 h, the development of new tools to measure heart rate variability (HRV) and QT variability is needed to utilize the full potential of such extra-long-term ECG recordings.

### Methods

In this report, we propose a new nonlinear time–frequency analysis approach, the concentration of frequency and time (ConceFT), to study the HRV QT variability from extra-long-term ECG recordings. This approach is a generalization of Short Time Fourier Transform and Continuous Wavelet Transform approaches.

### Results

As proof of concept, we used 14-day ECG recordings to show that the ConceFT provides a sharpened and stabilized spectrogram by taking the phase information of the time series and the multitaper technique into account.

### Conclusion

The ConceFT has the potential to provide a sharpened and stabilized spectrogram for the heart rate variability and QT variability in 14-day ECG recordings.

## Background

The non-stationary dynamic nature of the heart rate renders the heart rate variability (HRV) analysis, and subsequently the RR interval time series analysis and QT interval time series analysis, a difficult task. Nevertheless, several methods are currently used to quantify the HRV from 24 to 48 h long-term electrocardiogram (ECG) recordings [1,2,3,4,5]. These methods could be briefly classified into four major categories—time domain approach, frequency domain approach, nonlinear geometric approach, and information theory based approach [6,7,8,9]. Most of the methods applied to measure long-term HRV are based on the stationarity assumption [1,2,3, 10], a common assumption in many time series techniques. While those methods could still be applied to any non-stationary time series, such as 24–48 h long-term heart rate, the results might not be directly interpretable, miss the finer non-stationary dynamics, or even misleading [11]. The problem becomes more challenging with “extra-long-term” ECG recordings, such as 7 days or longer [4, 12].

To handle the non-stationarity challenge, it is possible to truncate the time series into overlapping or non-overlapping segments, and then evaluate the spectral content. If the assumption that the time series are locally stationary without frequent dramatic changes holds, such an approach could capture the dynamic information. This approach is called the Time Frequency (TF) analysis [13]. Short Time Fourier Transform (STFT) [14] and Continuous Wavelet Transform (CWT) [15] are common linear-type TF analysis tools, and Cohn’s classes [16] are common quadratic-type TF analysis tools (smoothed pseudo-Wigner-Ville transform (SPWVT) [17] and Choi-Williams distribution (CWD) [18] are common choices of Cohn’s classes). These algorithms have been widely applied to HRV measurements [14,15,16,17,18,19,20,21]. Since the instantaneous spectral content is the main information to extract, the TF analysis could be classified as the *frequency domain* method. While these algorithms have been widely applied, they are not free of limitations. The main limitation of linear-type TF analysis techniques such as STFT and CWT is the blurring effect caused by the uncertainty principle [22]. This blurring effect might mask the available information and downgrade the analysis quality [23]. The quadratic-type TF analysis tools generally lose the causality information, and possible interference patterns might lead to an artificial outcome.

In this report, we focus on the TF analysis approach and propose a new nonlinear-type TF analysis approach, the concentration of frequency and time (ConceFT) [24], to study HRV and QT variability from extra-long-term ECG recordings. ConceFT is a generalization of the above-mentioned TF analysis techniques like STFT or CWT. It resolves the blurring effect limitation commonly encountered in the linear-type TF analysis techniques by sharpening instantaneous spectral content. It does this by taking the phase information of the time series and the multitaper technique into account, and by being stable to noise. The ConceFT has been previously shown to be an ideal tool to capture the dynamic spectral content of the RR interval time series that much better quantify anesthetic depth and noxious stimulation during the surgery under general anesthesia [23, 25]. Also, the idea of ConceFT was successfully applied to quantify the variability of the electrical activity of the diaphragm and the respiratory pressure signal to show how the mechanical ventilation impacts the breathing variability in infants [21].

## Methods

As proof of concept of our approach, we utilized data from four long-term ECG recordings, about 2 weeks (about 325 h) each. The data was recorded using ZIO^{®} Patch (iRhythm Technologies, Inc., San Francisco, California, USA) with a sampling rate of 200 Hz. The underlying information of the subjects was unknown to us.

### Concentration of frequency and time–time-varying power spectrum

To take into account the non-stationarity of a given time series, such as the physiological non-stationarity status of the HRV time series, and to avoid the limitations encountered in linear-type and quadratic-type TF analysis tools, we considered the recently developed nonlinear-type TF analysis technique ConceFT. ConceFT has the ability to sharpen the spectrum, capture the non-stationary dynamics, and possesses stability in regard to noise [23]. ConceFT is a generalization of the widely-applied multitaper (MT) technique [26] to the nonlinear-type TF analysis. Here we delineate the needs for ConceFT and summarize the algorithm step by step.

As mentioned, the basic idea of TF analysis is truncating the given time series by a given window at a different time, evaluating the power spectra of those truncated segments, and then stitching the power spectra obtained at those different times to create a spectrogram [13]. Notably, the multiplication of any window with the time series at time *t* means that the analysis on the time series is focused around time *t*. The first limitation of this approach is the broadening or smearing of the spectral content caused by the uncertainty principle [22]. When noise exists, it is natural to ask if the algorithm is stable to noise. The MT technique [26] is widely applied to stabilize the algorithm. When applying the MT technique, the TF representations obtained from multiple orthonormal windows are averaged. While the MT technique could help obtain stable information about the non-stationary dynamics, this approach is limited by the “Nyquist rate”; that is, the number of windows competing with the desired TF resolution [27].

To alleviate the first limitation, the spectrum could be sharpened by taking the phase of the Fourier transform of the truncated segment into account. This nonlinear approach is called synchrosqueezing transform (SST) [28]. For the second limitation, the nonlinear nature of the sharpening procedure could be taken into account to generalize the MT technique by considering multiple linear combinations of the chosen orthonormal windows. This combination leads to ConceFT, which binds the spirit of the MT technique and the nonlinearity of a chosen TF analysis.

ConceFT is composed of three steps. The first is choosing *J* orthonormal windows, where *J* is a positive integer, and for that we choose the first *J* Hermit windows due to their optimal time–frequency concentration [27]. In order to capture the local dynamics of the time series, we take *N* linear combinations of those *J* orthonormal windows so that the new window is of unit norm. Second, we evaluate the STFT by multiplying each linearly-combined window to the time series centered at a different time, and evaluating the Fourier transform. For each linearly-combined window and each time, we take the phase information of the Fourier transform to sharpen the spectral content; that is, the SST is applied [28]. Finally, at each time, we average the sharpened spectral contents evaluated by *N* different linearly combined windows, and obtain the final result, which is again a spectral content. By stitching the sharpened and stabilized power spectra obtained at a different time, we obtain a new spectrogram, which we call the *time*-*varying power spectrum* (tvPS). The result is a sharpened and stabilized spectrogram [23].

### How to read the time-varying power spectrum

The tvPS is represented as a matrix, which is usually represented as an image for visualization. See Fig. 1 for a typical tvPS generated by ConceFT with the 14-day heart rate signal. The *x*-axis in Fig. 1 indicates the time in days. The *y*-axis indicates the frequency with in “Hz.” As a TF representation, this image comes from stitching together sequential spectra indexed by time. At each slice indexed by time, the intensity on that slice indicates how strongly the signal oscillates at the frequency indexed by the frequency axis. According to the developed theory [23, 28], the main information we can acquire from the tvPS is the “curve” pattern. Particularly, an oscillatory component inside the time series is represented as a curve indexed by time. In this example, after day 7, there is a dominant oscillatory component at 1 Hz, which indicates a daily oscillation inside the heart rate signal. Theoretically, this curve indicates the time-varying frequency of the oscillatory component, and the intensity of the curve indicates the strength of that component [23].

### Summarize the tvPS information—long-term variability index

While ConceFT provides stabilized and sharpened dynamic spectral information by the tvPS, for the clinical application, we may prefer a more simplified index that could faithfully summarize the information provided by the tvPS. There are several different ways to achieve this goal. One approach is taking the distribution pattern of the tvPS into account, since it provides different dynamic physiological information that depends on the physiological background. To quantify the distribution pattern, we first obtain a *time*-*varying parameter* over a predesigned spectral region, like the time-varying low-frequency power [25], or describe how regularly the signal is oscillating, like the rhythmic to non-rhythmic ratio (NRR) [21]. These time-varying parameters decouple specific information from the complicated integrated information in the heart rate. For example, the time-varying low-frequency power captures the sympathetic tone information, and the NRR captures the respiratory sinus arrhythmia. Next, we can consider a model approach to estimate the underlying parameters associated with the time-varying parameter, or summarize the dynamics by imposing stationarity [6,7,8,9]. We illustrate the whole procedure in Fig. 1 with the 14-day heart rate signal.

### Data preprocessing

To apply ConceFT to analyze the HRV, we carry out the following ECG preprocessing steps: R-peak and T-end detection, correct RR interval to adjust the error incurred by artifacts or arrhythmic beats, and correct QT interval. If the ECG tracking is sampled at a frequency lower than 500 Hz, we follow the suggestion of the Task Force [29] and [30] and upsample the ECG tracking to 500 Hz. The power line interference is filtered using a notch filter. The baseline wandering is filtered using a median filter with the window length 500 ms long.

### R peaks detection

The R-peaks are detected by the QRS detection algorithm [31]. A refractory period of 250 ms is considered to remove obvious artifacts [32]—when two peaks are detected with the period shorter than 250 ms, the peak with the sharpest slope is retained. To further remove the artifacts incurred by the spurious R-peak detection or missing R-wave detection, we apply the median filter of five consecutive RR intervals, which is a robust estimate of the expected RR interval. The RR interval that dramatically deviates from this median is labeled as a suspected RR interval. If a suspected RR interval is significantly shorter than the median (we used 0.5 times as the criterion in this analysis), and the sum of two adjacent RR intervals is close to the median, this suspected RR interval is considered coming from spurious R-peak. In this case, the spurious R-peak is removed. If the suspected RR interval is significantly longer than the median (we used 2 times as the criterion in this analysis), it is possible that one or more R-peaks are missed. In this case, the interval is divided into *k* segments, where *k* is the rounding integer of the division of the suspected RR interval and the median.

### Arrhythmic beats editing

It is well known that arrhythmic beats could introduce a bias into HRV analysis. For example, ectopic beats impair the reliability of the different approaches for the RR interval time series analysis, like artificially increasing the high frequency band power in the spectral method and the standard deviation in the time domain method. In our analysis, we distinguished sinus beats from abnormal beats by the currently proposed classifier for the single lead ECG signal [32]. We combined the beat-to-beat statistics and the time domain features, and applied the support vector machine (SVM) [33] to distinguish sinus rhythmic beats from the abnormal beats. Particularly, we considered the following features: R-peak amplitude, the time difference between current and previous beat (at R-peak), the time difference between current and next beat (at R-peak), the average R-peak to R-peak interval over 10 beats, the phase associated with the R-peak, and the duration of the QRS complex. These features are chosen since they are simple to acquire and relatively robust in the presence of noise. The SVM is trained from the MIT-BIH arrhythmia database [34], which contains 48 half-hour two-lead ambulatory ECG signals (denoted as lead A and lead B). We followed the ANSI/AAMI EC57:1998 standard [35] and excluded paced records. The training is carried out on the lead II signals of the remaining cases.

After finding those arrhythmic beats, we followed the suggested procedure [36] to edit the RRI associated with the arrhythmic beats and the following compensatory pause beat. First, we excluded 10-min segments that have less than 80% normal beats [36]. For the other segments, we used the non-linear predictive interpolation for RRI artifact correction [37]. We used the consecutive 10 RR intervals before the abnormal RR interval and then find the consecutive 10 normal RR intervals that are closest to the particular segment with the abnormal RR interval. The RR interval following the chosen consecutive 10 normal RR intervals was used to replace the RR interval for the abnormal beat. More details on the non-linear predictive interpolation are available somewhere else [8, 38, 39].

### QTc evaluation

The beginning and the end of the QRS complex, along with the maxima of the complex are detected, after correcting the polarity as needed. The end of T-wave position is determined by the area measuring method [40]. With the timestamp of the end of each T-wave, we obtained the QT interval.

Individual variations in the relationship between QT and RR intervals are well established [41], and therefore the heart rate-corrected QT interval (QTc) is better evaluated using the individual-specific corrections by the linear regression techniques [42] as follows: Denote *RR*(*i*) to be the corrected *i*-th RR interval, measured in seconds. Denote *QT*(*i*) to be the length of the QT interval associated with the *i*-th ventricular response. Then, correct the *i*-th QT interval by locally fitting the *41* closest RR intervals by the formula *QT* = *βRR*^{α}, where *α* and *β* are constants, by the linear regression. The *i*-th QT interval is corrected by the associated *α* via \( QT_{c} (i) = \frac{QT(i)}{{RR(i)^{\alpha } }} \) [42].

### Time series to be analyzed

To analyze the corrected RRI time series, the following time series were considered: 0 ≤ *γ* ≤ 1, and defined a time series *R*_{hour,γ} as *R*_{hour,γ}(*i*) = *γ* quartile of RRIs in the *i*-th hour. Note that when *γ* = 1, we evaluated the maximal. In this study, we illustrate how the proposed ConceFT is able to analyze *R*_{hour,0.01}, *R*_{hour,0.99} and *R*_{hour,0.5}, which are all of about 325 in length since the recorded signals are about 325 h long. We view *R*_{hour,0.01} and *R*_{hour,0.99} as surrogates of measuring the minimal and maximal heart rate sampled uniformly each hour. These surrogates are chosen to avoid the possible outliers which may exist even after the correction.

It is well known that the variability of the beat-to-beat QT time series measures the stability of the ventricular repolarization duration, if we assume that the depolarization is more stable compared with the repolarization duration [30, 43]. As it provides physiological information from a different angle compared with the RR interval time series, we also consider the QTc time series to demonstrate how the ConceFT could be applied. For the variability analysis of the QT time series, we define the time series *Q*_{hour,0.01}, *Q*_{hour,0.99} and *Q*_{hour,0.5} for the QTc.

We could also define other time series—for example, the one sampled per minute, if needed. However, to keep the illustration concise, we only focus on the above-mentioned time series associated with the RR interval and QT interval time series.

## Results

### Simulated signal

To illustrate the performance of ConceFT, we demonstrated how it works in a simulated multi-component signal, and compared the resulting tvPS with those generated by the commonly applied TF analysis tools, like MT synchrosqueezed spectrogram, spectrogram (the square modulus of STFT), scalogram (the square modulus of CWT), SPWVD, and CWD. We modeled the signal to have two oscillatory components, each with a time-varying amplitude and frequency, and modeled the time-varying amplitudes and frequencies by realizations of smoothed Brownian paths [23]. We chose the smoothed Brownian path for our model since it cannot be represented by well-known functions [23] and hence it provides a more realistic model. For each component, we modeled it to exist only for a finite period which modeled the unexpected exterior stimulation that might change the dynamics. We then modeled the stochasticity by the autoregressive and moving average (ARMA) process. We considered an ARMA(1, 1) model determined by an autoregression polynomial *a(z) *= *0.5z *+ *1* and a moving averaging polynomial *b(z) *= − *0.5z *+ *1*; for the innovation process we used independent and identically distributed Student t4 random variables. We chose this ARMA(1, 1) random process since its time-dependent property better captures the time-dependent physiological property. The Student t4 random variable could well model the noise generated by “spurious beats” or “missing beats” since it has a fat-tailed distribution. See Fig. 2 for one example of the selected simulated signal. The signal is sampled at 100 Hz, and the signal-to-noise ratio is − 2 dB. We then apply ConceFT, MT synchrosqueezed spectrogram, spectrogram, scalogram, SPWVD, and CWD to the simulated signal. In the MT synchrosqueezed spectrogram, we followed the same parameters suggested by Daubechies et al. [23] and chose the first 6 Hermit polynomials with the window size 3.77 s for the averaging. In ConceFT, the first 2 Hermit polynomials with the window size 3.77 s and 100 linear combinations are chosen: that is, *J *= *2* and *N *= *100*. The SPWVD, CWD, and scalogram are calculated by the widely used public code http://tftb.nongnu.org. We followed the suggested parameters and windows to produce the figures. The results are shown in Fig. 3. It is clear that while all TF analysis approaches capture the dynamics, the tvPS generated by ConceFT is sharper and cleaner. In SPWVD and CWD, the low frequency component seems to be interrupted in the middle, which might lead to misinterpretation. In the scalogram, it is not even clear if the low frequency component exists. This is caused by the affine transform nature of CWT—a large scale is associated with the low frequency region, which blurs the dynamic information.

The Matlab code of ConceFT and the simulated signal generator can be downloaded from https://hautiengwu.wordpress.com/code/ for purposes of reproducibility.

### Extra-long-term ECG signals

We used four long-term ECG recordings (323, 335, 333, and 306 h, respectively). To run ConceFT on the above-mentioned time series, we used *J *= *3* windows and *N *= *100* linear combinations to evaluate the tvPS of each considered time series. The analysis results of the first subject are shown in Fig. 4. In this figure, the tvPSs of different time series related to the QTc are shown on the top, and those of different time series related to the inverse of the RRI are shown on the bottom.

The tvPSs shown in Fig. 4 could be interpreted as follows: First, the dark curve around 1 Hz after day 4 (indicated by the red arrow) in the tvPS of *Q*_{hour,0.99} indicates a daily oscillation of the QTc. There is no obvious curve before day 4 in the tvPS of *Q*_{hour,0.99}, which indicates that there is no obvious oscillatory pattern before day 4. On the other hand, the non-dominant concentrated curve but a blurred spectrum suggests that there are some oscillatory irregular patterns. For example, in Fig. 4, we could not visualize any dominant curve/line in the tvPS of *R*_{hour,0.99}, but a dominant blurred spectrum before day 8 ranging from 0 to 4 Hz could be perceived. This indicates a roughly daily oscillation, but the oscillation is irregularly in the range of 0 to 4 Hz.

In Fig. 5, we show a comparison of the tvPS constructed from ConceFT and the spectrogram of time series considered in Fig. 4. Compared with Fig. 4, it is clear that overall the spectrogram is blurred and less easy to directly identify the 1 Hz oscillatory component in the *Q*_{hour,0.99} time series after day 4. This blurring comes from the uncertainty principle and it inevitable for all linear-type TF analysis methods. On the other hand, ConceFT takes the phase information of the signal and sharpens the TF representation, and hence the user could identify the possible information hidden inside the signal. This finding is consistent with the result shown in the simulated signal.

It is not surprising that tvPS’s of different time series have different behavior since they catch different aspects of of autonomic system. For example, *R*_{hour,0.99} provides partial information about the sympathetic tone, since in general we observe a fast heart rate when the sympathetic tone is active. Similarly, *R*_{hour,0.01} provides partial information about the parasympathetic tone. The results of the other three cases are shown in the Additional file 1.

## Discussion

In this report we presented a new approach for analysis of HRV and QT variability using data from long-term ECG recording. As proof of concept we applied this approach to four 2-week ECG recordings, and compared the results with other common TF approaches in a simulated signal. We showed that our proposed approach has the potential to enhance utilization of data collected from the current extra-long ECG recordings without the limitations of the currently applied TF analysis methods for 24–48 h recordings. Further research is needed to validate the HRV and QT variability indices obtained by our approach in terms of their association with outcomes.

From the machine learning perspective, summarizing the information in the tvPS by the NRR index is an unsupervised dimension reduction step. It certainly loses information, and the lost information might be critical for some applications. The NRR index was considered mainly to quantify the RR interval variability caused by the respiratory sinus arrhythmia under general anesthesiology [23]. For different applications, based on different physiological situations, we could define different indices in the future. Another approach is via the unsupervised learning approach to organize the tvPS, and/or other commonly considered HRV indices in the files [6]. By viewing ConceFT as a tool of unraveling dynamic information inside the RR interval or QT interval time series, we could further consider the idea of recurrent plot [38] or nonlocal pattern like phase-rectified signal averaging [44] to explore the signal, and apply it to study other topics, like the coupling between QT variability and HRV [45], and IHR estimated from modalities other than ECG [46,47,48]. We mention that after extracting features from either defining new indices or via the nonlinear dimensional reduction technique, we could apply any suitable supervised learning technique to connect the extracted information from the long-term ECG signal with the clinically interesting facts and establish a prediction model. We leave these opportunities to future work.

## Conclusions

With the emergence of ECG recordings that go several days and weeks, development of a new approach to measure HRV, particularly one that can capture the dynamics with sharp and stable instantaneous spectral content, is needed to utilize the full potential of data generated from such extra-long-term ECG recordings. We demonstrated a new approach to study HRV and QT variability in extra-long-term ECG recording using a modern time–frequency analysis tool, ConceFT. A validation with a larger database with clinical outcomes is needed and will be carried out in our future work.

## References

- 1.
Shahbazi F, Asl BM. Generalized discriminant analysis for congestive heart failure risk assessment based on long-term heart rate variability. Comput Methods Progr Biomed. 2015;122(2):191–8.

- 2.
Melillo P, De Luca N, Bracale M, Pecchia L. Classification tree for risk assessment in patients suffering from congestive heart failure via long-term heart rate variability. IEEE J Biomed Health Inform. 2013;17(3):727–33.

- 3.
Flachenecker P, Lem K, Mullges W, Reiners K. Detection of serious bradyarrhythmias in Guillain-Barre syndrome: sensitivity and specificity of the 24-h heart rate power spectrum. Clin Auton Res. 2000;10(4):185–91.

- 4.
Goya-Esteban R, Barquero-Perez O, Caamano-Fernandez A, Rojo-Alvarez J, Pastor-Perez F, Manzano-Fernandez S, et al. Usefulness of 7-day Holter monitoring for heart rate variability nonlinear dynamics evaluation. Comput Cardiol. 2011:105-8.

- 5.
Fei L, Copie X, Malik M, Camm AJ. Short- and long-term assessment of heart rate variability for risk stratification after acute myocardial infarction. Am J Cardiol. 1996;1996(9):681–4.

- 6.
Acharya UR, Joseph KP, Kannathal N, Lim CM, Suri JS. Heart rate variability: a review. Med Biol Eng Comput. 2006;44(12):1031–51.

- 7.
Malik M, Camm AJ. Heart rate variability. Hoboken: Wiley-Blackwell; 1995.

- 8.
Mansier P, Clairambault J, Charlotte N, Médigue C, Vermeiren C, LePape G, et al. Linear and non-linear analyses of heart rate variability: a minireview. Cardiovasc Res. 1996;31(3):371–9.

- 9.
Voss A, Schulz S, Schroeder R, Baumert M, Caminal P. Methods derived from nonlinear dynamics for analysing heart rate variability. Philos Trans R Soc A Math Phys Eng Sci. 1887;2009(367):277–96.

- 10.
Melillo P, Fusco R, Sansone M, Bracale M, Pecchia L. Discrimination power of long-term heart rate variability measures for chronic heart failure detection. Med Biol Eng Comput. 2011;49(1):67–74.

- 11.
Hendry DF. Econometrics-alchemy or science? Economica. 1980;47(188):387–406.

- 12.
Barrett PM, Komatireddy R, Haaser S, Topol S, Sheard J, Encinas J, et al. Comparison of 24-h Holter monitoring with 14-day novel adhesive patch electrocardiographic monitoring. Am J Med. 2014;127(1):11–7.

- 13.
Flandrin P. Time-frequency/time-scale analysis. Cambridge: Academic Press Inc.; 1999.

- 14.
Elsenbruch S, Wang Z, Orr WC, Chen JDZ. Time-frequency analysis of heart rate variability using short-time Fourier analysis. Physiol Meas. 2000;21:229–40.

- 15.
Chen S-W. A wavelet-based heart rate variability analysis for the study of nonsustained ventricular tachycardia. IEEE Trans Biomed Eng. 2002;49(7):736–42.

- 16.
Mainardi LT. On the quantification of heart rate variability spectral parameters using time-frequency and time-varying methods. Philos Trans R Soc A Math Phys Eng Sci. 1887;2009(367):255–75.

- 17.
Jasson S, Medigue C, Maison-Blanche P, Montano N, Meyer L, Vermeiren C, et al. Instant power spectrum analysis of heart rate variability during orthostatic tilt using a time-/frequency-domain method. Circulation. 1997;96:3521–6.

- 18.
Chan H-L, Huang H-H, Lin J-L. Time-frequency analysis of heart rate variability during transient segments. Ann Biomed Eng. 2001;29(11):983–96.

- 19.
Blain G, Meste O, Blain A, Bermon S. Time-frequency analysis of heart rate variability reveals cardiolocomotor coupling during dynamic cycling exercise in humans. Am J Physiol Circ Physiol. 2009;296:1651–9.

- 20.
Vila J, Palacios F, Presedo J, Fernández-Delgado M, Felix P, Barro S. Time-frequency analysis of heart-rate variability. IEEE Eng Med Biol Mag. 1997;16(5):119–26.

- 21.
Lin YT, Wu HT, Tsao J, Yien HW, Hseu SS. Time-varying spectral analysis revealing differential effects of sevoflurane anaesthesia: non-rhythmic-to-rhythmic ratio. Acta Anaesthesiol Scand. 2014;58:157–67.

- 22.
Ricaud B, Torrésani B. A survey of uncertainty principles and some signal processing applications. Adv Comput Math. 2014;40(3):629–50.

- 23.
Daubechies I, Wang Y, Wu HT. Conce FT concentration of frequency and time via a multitapered synchrosqueezing transform. Philos Trans A. 2016;374(2065):20150193.

- 24.
American National Standard. Cardiac monitors, heart rate meters, and alarms: ANSI/AAMI EC13:2002/(R) 2007; 2007.

- 25.
Lin YT, Wu HT. ConceFT for time-varying heart rate variability analysis as a measure of noxious stimulation during general anesthesia. IEEE Trans Biomed Eng. 2017;64(1):145–54.

- 26.
Percival DB, Walden AT. Spectral Analysis for physical applications: multitaper and conventional univariate techniques. Cambridge: Cambridge University Press; 1993.

- 27.
Daubechies I. Time-frequency localization operators: a geometric phase space approach. IEEE Trans Inform Theory. 1988;34:605–12.

- 28.
Daubechies I, Lu J, Wu HT. Synchrosqueezed wavelet transforms: An empirical mode decomposition-like tool. Appl Comput Harmon Anal. 2011;30:243–61.

- 29.
Heart rate variability. Standards of measurement, physiological interpretation and clinical use. Task Force of the European Society of Cardiology and the North American Society of Pacing and Electrophysiology. Circulation. 1996;93(5):1043.

- 30.
Baumert M, Porta A, Vos MA, Malik M, Couderc J-P, Laguna P, et al. QT interval variability in body surface ECG: measurement, physiological basis, and clinical value: position statement and consensus guidance endorsed by the European Heart Rhythm Association jointly with the ESC Working Group on Cardiac Cellular Electrophysiology. EP Europace. 2016;18(6):925–44.

- 31.
Elgendi M. Fast QRS detection with an optimized knowledge-based method: evaluation on 11 standard ECG databases. PLoS ONE. 2013;8(9):e73557.

- 32.
Herry CL, Frasch M, Seely AJE. Wu Ht. Heart beat classification from single-lead ECG using the synchrosqueezing transform. Physiol Meas. 2017;38(2):171.

- 33.
Scholkopf B, Smola A. Learning with Kernels. Cambridge: MIT Press; 2002.

- 34.
Moody GB, Mark RG. The impact of the MIT-BIH Arrhythmia Database. IEEE Eng Med Biol Mag. 2001;20(3):45–50.

- 35.
Testing and Reporting Performance Results of Cardiac Rhythm and ST Segment Measurement Algorithms, ANSI/AAMI EC57:1998 standard. Association for the Advancement of Medical Instrumentation; 1998.

- 36.
Peltola MA. Role of editing of R-R intervals in the analysis of heart rate variability. Front Physiol. 2012;3:1–10.

- 37.
Lippman N, Stein KM, Lerman BB. Nonlinear predictive interpolation. A new method for the correction of ectopic beats for heart rate variability analysis. J Electrocardiol. 1993;26(Suppl):14–9.

- 38.
Eckmann JP, Kamphorst SO, Ruelle D. Recurrence plots of dynamical systems. Europhys Lett. 1987;4(9):973.

- 39.
Takens F. Detecting strange attractors in turbulence. In: Rand D, Young L-S, editors. Dynamical Systems and Turbulence, Warwick 1980: proceedings of a symposium held at the University of Warwick 1979/80. Berlin: Springer; 1981. p. 366–81.

- 40.
Zhang Q, Manriquez AI, Medigue C, Papelier Y, Sorine M. An algorithm for robust and efficient location of T-Wave ends in electrocardiograms. IEEE Trans Biomed Eng. 2006;53(12):2544–52.

- 41.
Malik M, Färbom P, Batchvarov V, Hnatkova K, Camm AJ. Relation between QT and RR intervals is highly individual among healthy subjects: implications for heart rate correction of the QT interval. Heart. 2002;87(3):220.

- 42.
Malik M. Problems of heart rate correction in assessment of drug-induced QT interval prolongation. J Cardiovasc Electrophysiol. 2001;12(4):411–20.

- 43.
Berger RD, Kasper EK, Baughman KL, Marban E, Calkins H, Tomaselli GF. Beat-to-beat QT interval variability. Circulation. 1997;96(5):1557.

- 44.
Bauer A, Kantelhardt JW, Barthel P, Schneider R, Mäkikallio T, Ulm K, et al. Deceleration capacity of heart rate as a predictor of mortality after myocardial infarction: cohort study. Lancet. 2006;367(9523):1674–81.

- 45.
Almeida R, Gouveia S, Rocha AP, Pueyo E, Martinez JP, Laguna P. QT variability and HRV interactions in ECG: quantification and reliability. IEEE Trans Biomed Eng. 2006;53(7):1317–29.

- 46.
Xia Y, Wu D, Gao Z, Liu X, Chen Q, Ren L, Wu W. Association between beat-to-beat blood pressure variability and vascular elasticity in normal young adults during the cold pressor test. Medicine. 2017;96(8):e6000.

- 47.
Xia Y, Liu X, Wu D, Xiong H, Ren L, Xu L, Wu W. Influence of beat-to-beat blood pressure variability on vascular elasticity in hypertensive population. Sci Rep. 2017;7:8394.

- 48.
Wu H-T, Lewis GF, Davila MI, Daubechies I, Porges SW. Optimizing heart rate variability evaluation from pulse wave signals with the synchrosqueezing transform. Methods Inf Med. 2016;55(5):463–72.

## Authors’ contributions

HW and EZS discussed the original idea of the paper, and prepared the manuscript together. HW carried out the numerical analysis. Both authors read and approved the final manuscript.

### Acknowledgements

Not applicable.

### Competing interests

The authors declare that they have no competing interests.

### Availability of data and materials

Not applicable.

### Consent for publication

Not applicable.

### Ethics approval and consent to participate

Not applicable.

### Funding

Hau-Tieng Wu's research is partially supported by Ministry of Science and Technology 107-2119-M-002-016-, NCTS Taiwan.

### Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Author information

### Affiliations

### Corresponding author

## Additional file

**Additional file 1: Figure S1.**

The ConceFT results of the second case. Top: the time-varying power spectrum (tvPS) of different time series related to the inverse of the RRI; bottom: the tvPS of different time series related to the QTc. The tvPS of the RRI shows an oscillatory pattern. For *R*_{hour,0.99}, we found a 2 Hz oscillation around day 4 to day 9, which comes from the regular spikes indicated by the red arrows. Note that the curve around 4 Hz is the multiple of the 2 Hz oscillation due to the spiky shape of the oscillation. For* R*_{hour,0.5} and* R*_{hour,0.01}, we could visualize a dominant line at 1 Hz after day 7, which is indicated by the blue arrow. Note that the oscillation could also be visualized in* R*_{hour,0.5} and* R*_{hour,0.01}. The different behaviour of* R*_{hour,0.99},* R*_{hour,0.5} and* R*_{hour,0.01} comes from the fact that they capture different physiological information. The QTc time series has a more complicated structure. Actually, it is not easy to recognize any line/curve that lasts long enough, except the 1 Hz oscillation from day 7 to day 10 in* Q*_{hour,0.5} indicated by the green arrow. **Figure S2.** The spectrogram results of the second case for a comparison. **Figure S3.** The ConceFT results of the third case. Top: the time-varying power spectrum (tvPS) of different time series related to the inverse of the RRI bottom: the tvPS of different time series related to the QTc. The tvPS of the RRI shows an oscillatory pattern. For* R*_{hour,0.99}, we found a 1 Hz oscillation from day 2 to day 8, which reflects the oscillatory pattern in the signal indicated by the red arrows. The line around 1 Hz gets stronger in* R*_{hour,0.5} and* R*_{hour,0.01}, which is indicated by the blue and green arrows. The QTc time series has an oscillatory pattern that could be confirmed by the line around 1 Hz. However, the 1 Hz oscillation is not very stable in* Q*_{hour,0.99} and * Q*_{hour,0.5}, since the line around 1 Hz is fluctuating. Compared with * Q*_{hour,0.99} and * Q*_{hour,0.5}, *Q*_{hour,0.01} has a more stable 1 Hz oscillation, but only before day 13. **Figure S4.**The spectrogram results of the third case for a comparison. **Figure S5.** The ConceFT results of the fourth case. Top: the time-varying power spectrum (tvPS) of different time series related to the inverse of the RRI bottom: the tvPS of different time series related to the QTc. The tvPS of the RRI shows an oscillatory pattern. For* R*_{hour,0.99}, we found a 2 Hz oscillation around day 5 to day 8 indicated by the red arrow, which come from the regular spikes indicated by the red dash arrow. For* R*_{hour,0.01}, we could visualize a dominant line at 1 Hz before day 9 that fluctuates up to 1.5 Hz from day 9 to day 12. The curve indicated by the green arrow. The QTc time series has a more complicated structure and no line/curve could be recognized from the tvPS. **Figure S6.** The spectrogram results of the fourth case for a comparison.

## Rights and permissions

**Open Access** This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.

## About this article

### Cite this article

Wu, HT., Soliman, E.Z. A new approach for analysis of heart rate variability and QT variability in long-term ECG recording.
*BioMed Eng OnLine* **17, **54 (2018). https://doi.org/10.1186/s12938-018-0490-8

Received:

Accepted:

Published:

### Keywords

- Heart rate variability
- QT variability
- Long-term ECG recording
- Time–frequency analysis
- Concentration of frequency and time (ConceFT)