Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2014 Sep 1.
Published in final edited form as: IEEE Trans Biomed Eng. 2013 Apr 4;60(9):2393–2400. doi: 10.1109/TBME.2013.2256907

Detection of T-wave Alternans in Fetal Magnetocardiography Using the Generalized Likelihood Ratio Test

Suhong Yu 1, Barry D Van Veen 2, Ronald T Wakai 3,*
PMCID: PMC3750067  NIHMSID: NIHMS470641  PMID: 23568477

Abstract

T-wave alternans (TWA) is an indicator of cardiac instability and is associated with life-threatening ventricular arrhythmias. Detection of TWA in the adult has been widely investigated and is used routinely for cardiac risk assessment. Detection of TWA in the fetus, however, is much more difficult due to the low amplitude and variable configuration of the signal, the presence of strong interferences, and the brevity of fetal TWA episodes. In this paper we present a statistical detector based on the generalized likelihood ratio test that is designed for detection of TWA in the fetus. The performance of the detector is evaluated by constructing receiver-operator characteristic curves, using simulated data and real data from subjects with macroscopic TWA. The detector is capable of detecting TWA episodes as brief as 20 beats. The detection performance is improved significantly by modeling the fetal T-wave as a low rank, low bandwidth signal, and using maximum likelihood estimation to estimate the model parameters. This approach enables all of the data to be used to estimate the noise statistics, providing highly effective suppression of interference, including maternal interference. The method is suitable for routine use because it can be applied to raw, unprocessed recordings, allowing automated analysis of extended fetal magnetocardiography recordings.

Keywords: T-wave alternans, long QT syndrome, repolarization abnormalities, fetal magnetocardiography, maximum likelihood estimation, generalized likelihood ratio

I. Introduction

Abnormal cardiac repolarization, which manifests as T-wave abnormalities on the electrocardiogram and magnetocardiogram, is strongly associated with channelopathies, cardiomyopathies, and sudden death at all ages [1], [2], [3], [4]. T-wave abnormalities can take on a number of different forms, such as QTc prolongation, ST segment depression or elevation, T-wave axis deviations, and T-wave alternans (TWA). While several of these abnormalities are markers of serious cardiovascular disease, TWA has received considerable recent attention due to its association with sudden cardiac death. Currently, there is an urgent need for improved, noninvasive methods of predicting sudden cardiac death, following the publication of two large clinical trials that greatly expanded the indications for implantable cardiac defibrillators [5] [6].

TWA is an alternation in T-wave amplitude or morphology, often occurring in a beat-to-beat, or ABAB, pattern. The degree of TWA can vary widely. In extreme cases, TWA is among the most striking of all ECG patterns, exhibiting a dramatic reversal of T-wave polarity in alternating beats. Such forms of visually apparent, or macroscopic, TWA are an indicator of severe cardiac instability, but even low levels of TWA are clinically significant [7]. Using computer methods, it is possible to detect very low amplitude TWA conforming to an ABAB pattern, known as microvolt TWA (MTWA). Over the last decade, detection of MTWA has developed into a routine procedure for cardiac risk assessment [8].

A number of detection methods have been devised to detect MTWA in the adult ECG, and their methodological principles have been reviewed by Martinez and Olmos [9]. The two most widely used methods of detecting MTWA are the spectral method of Cohen and coworkers [10], and the modified moving average method of Vernier and coworkers [11]. Although MTWA may be present at rest [12], the spectral method is applied to stress ECGs and the moving average method was developed for ambulatory monitoring. The spectral method detects the TWA component of the power spectrum, corresponding to a frequency of 0.5 cycles per beat, over a 128 beat segment of the recording. The modified moving average method detects TWA based on differences in the averaged waveforms of the odd-numbered and even-numbered beats, computed over 15 second time windows. A recent review of clinical TWA studies has shown that the two methods generate approximately the same hazard ratios when applied to patients with low ejection fraction and/or hypertrophic cardiomyopathy [13].

Repolarization abnormalities have not been extensively studied in the fetus because the fetal ECG is difficult to record during pregnancy. Only in the last few years, owing to the increased utilization of fetal magnetocardiography (fMCG), have such studies been possible, but already there is strong evidence for the clinical significance of fetal TWA. In the setting of fetal long QT syndrome (LQTS), macroscopic TWA is clearly a critical finding due its association with torsade de pointes (TdP). Based on study of 13 LQTS fetuses, Cuneo and coworkers showed that QTc duration exceeding 580 ms was predictive of TWA, second-degree block, and TdP [14]. Three of the 4 subjects with TdP had macroscopic TWA. Zhao and coworkers demonstrated repolarization abnormalities [15] in fetuses with various forms of arrhythmia and congenital heart disease. Seven fetuses showed TWA. They had such suboptimal outcomes as in utero demise, hydrops, ventricular tachycardia, and neonatal pacing. These results corroborate that TWA is associated with cardiac instability in the fetus, as it is in the adult, and puts the fetus at increased risk of ventricular tachycardia. Detection of fetal TWA calls for an evaluation of family history for evidence of ion channelopathies, as well as testing and correction of maternal magnesium, calcium, and vitamin D levels. If fetal LQTS is suspected, drugs that prolong repolarization are contraindicated and vigilance for the onset of TdP and other arrhythmias should be increased. These measures can be life-saving because TdP, while highly lethal, can be effectively treated in utero using drug therapy [16],[17].

For several reasons, detection of TWA is much more difficult in the fetus than in the adult. First, TWA in the fetus occurs spontaneously and is highly variable in duration and frequency of occurrence. Although it may be present continually in severe cases, most often it is transient, appearing in episodes as brief as 10 seconds or less. In the adult, TWA may be present at rest [12], but during clinical testing it is induced by increasing heart rate and, when present, is relatively persistent and stationary. Second, the fMCG suffers from low signal amplitude, variable configuration, and strong interferences, which confound TWA detection. The signal amplitude and configuration depend strongly on fetal lie, which can differ substantially between subjects. In addition, the recordings are contaminated by interference from various environmental and biological sources. The most important of these is interference from the maternal MCG, which closely resembles the fMCG but typically shows higher amplitude and lower heart rate. These difficulties, which are minimal or absent for detection of TWA in adults, can be partly overcome through the use of large sensor arrays, which are able to characterize the covariance of the signal and interference. This underscores the need for a detection method specific to fMCG, which is able to fully exploit the spatial and temporal information available in the recordings.

The goal of this study is to develop a statistical detector for the challenging task of detecting TWA in the fetus. In section II we motivate and describe the use of the generalized likelihood ratio test (GLRT) for this application. In addition, we present a low-rank, low bandwidth model of the fMCG, which is subsequently shown to improve estimation of the signal and the noise statistics required for implementation of the GLRT. In section III we summarize the results of several assessments of detector performance. Receiver operating characteristic (ROC) curves are used to evaluate the performance of the detector and the efficacy of the signal model when applied to simulated data and to real data from subjects with macroscopic TWA. The detector is then applied to data from at-risk subjects in whom ground truth is not known, in order to demonstrate practical use of the detector. In Section IV we identify key attributes of the method that make it well suited for fetal application. We also discuss the performance improvements that result from use of the low-rank, low bandwidth signal model in conjunction with maximum likelihood estimation. Our notation uses lowercase and bold uppercase symbols to denote vectors and matrices, respectively. Superscripts T and -1 denotes matrix transpose and inverse, respectively.

II. Methods

The problem of detecting TWA in the fetus is a composite hypothesis test since parameters such as the T-wave shape are unknown. Optimal procedures generally do not exist for composite hypothesis tests [18], so we used the generalized likelihood ratio test (GLRT). Martinez and coworkers have previously applied the GLRT to TWA detection in adults [19], [20]. The GLRT performs detection using a likelihood ratio in which unknown parameters are replaced by their maximum likelihood estimates (MLE). The asymptotic or large data record performance of the GLRT is known [18]. MLE has been applied to estimation of evoked responses in electro- and magneto-encephalography (EEG / MEG) [21], [22]. In particular, we have previously shown that MLE is effective at estimating spatially low rank, low bandwidth, repeated MEG signals [23]. Our approach is motivated by this experience and the fact that the signal and noise characteristics of T-waves and evoked brain signals are very similar.

A. TWA identification method based on the generalized likelihood ratio test

Assume there are M spatial channels and N time samples, and a total of 2J data epochs, where each epoch corresponds to one beat. The data for the jth epoch is represented by the M by N matrix Xj = Sj+Nj, where Sj is the M×N matrix of signal (T-wave) samples and Nj is the M × N matrix of noise samples in the jth epoch. The noise is assumed to be temporally white (independent from sample to sample) and Gaussian distributed with unknown spatial covariance matrix. The mth row of Xj corresponds to the signal recorded in the mth channel. The T wave is assumed to have limited bandwidth and lie in a low-dimensional spatial subspace, so the signal matrix for an arbitrary epoch is approximated using the representation [23]

S=HΘCT (1)

where H is an unknown M × P matrix whose columns are a basis for the P-dimensional spatial subspace spanning the columns of the signal matrix S,C is a known N × L matrix whose columns are a basis for the L dimensional temporal subspace spanning the rows of S, and Θ is a P × L unknown signal amplitude matrix. We assume C is determined based on the assumed bandwidth of the T waves following the procedure described in the appendix of [23]. H and Θ are estimated from the data.

The signal (T-wave) alternates shape between even and odd beats in the presence of TWA. We denote So = HoΘoCT as the signal for the odd beats and Se = HeΘeCT as the signal for the even beats. These definitions assume the spatial (H) and temporal (Θ) shapes of the T wave may change between beats, while the bandwidth of the T wave, and thus C, remains constant. Let Xo = [X1 X3X2J–1] and Xe = [X2 X4X2J] be data matrices formed from the even and odd epochs, respectively, and define the complete collection of 2J epochs of data as

X=[XoXe] (2)

Hence, we have

Xo=[SoSoSo]+[N1N3N2J1] (3)
Xe=[SeSeSe]+[N2N4N2J] (4)

The hypothesis test for detecting TWA is to decide whether H0 : So = Se or H1 : SoSe. The GLRT for these hypotheses is expressed as

pH1(X;H^o,Θ^o,H^e,Θ^e)pH0(X;H^,Θ^)>t (5)

where p(.) denotes the probability density function (PDF) of the data and H^o,Θ^o,H^e,Θ^e,H^ and Θ^ are the MLEs of Hoo;He, Θe, H and Θ under the corresponding PDFs, respectively. The numerator is the PDF of the data when H1 is assumed true (HoHeo ≠ Θe) while the denominator is the PDF when H0 is assumed true (Ho = He = Ho = Θe = Θ). Hence, we decide H1 if the ratio of PDFs is greater than the threshold t.

The PDF of the data under hypothesis H0 is expressed as

pH0(X;R0,H,Θ)=(2π)MNJ(detR0)NJexp{12tr(R01(XHΘD0T)(XHΘD0T)T)} (6)

where D0T=[CTCTCT] is an L by 2JN matrix representing the temporal bases concatenated across all epochs and R0, the spatial covariance matrix of the noise, is unknown. The MLEs for the unknown noise covariance and T-wave parameters are well-known under H0 [21], [22], [23], [24]. The MLE for R0 is expressed as a function of the unknown H^ and Θ^

R^0=12NJ{i=12J((XiH^Θ^CT)(XiH^Θ^CT)T)} (7)

Substitution of R^0 into the PDF reveals that the MLEs H^ and Θ^ are obtained by minimizing the determinant of the R^0. Define D0 as an orthonormal set of vectors spanning the null space of D0 and let XD0=XD0(D0TD0)12, XD0=XD0, and QD0=XD0XD0T. Following [23], the product H^Θ^ is given by

H^Θ^=QD012H~H~TQD012XD0(D0TD0)12 (8)

where H~ is given by the P eigenvectors of QD012XD0(I+XD0TQD01XD0)1XD0TQD012 corresponding to the P largest eigenvalues.

The respective PDFs under hypothesis H1 may be written

pH1(X;H^o,Θ^o,H^e,Θ^e)=po(Xo;R1,Ho,Θo)pe(Xe;R1,He,Θe) (9)

with

po,e(Xo,e;R1,Ho,e,Θo,e)=(2π)MNJ2(detR1)NJ2exp{12tr(R11(Xo,eHo,eΘo,eD1T)(Xo,eHo,eΘo,eDiT)T)} (10)

The superscripts o, e refer to the odd and even beats, respectively, as the same equation applies to both cases. D1T=[CTCTCT] is an L by JN matrix representing the temporal bases across the odd or even epochs. This formulation assumes samples of the noise are identically distributed in even and odd epochs. The MLE of the noise covariance matrix is given as a function of the unknown H^o,H^e,Θ^o, and Θ^e as

R^1=12NJ{i=odd2J1(XiH^oΘ^oCT)(XiH^oΘ^oCT)T}{+i=even2J(XiH^eΘ^eCT)(XiH^eΘ^eCT)T)} (11)

Similarly to the hypothesis H0 case, the MLEs H^e,Θ^e,H^o and Θ^o are obtained by minimizing the determinant of R^1. This minimization is equivalent to

minimizeΘ~o,Ho,Θ~e,HeQD1+(XD1oHoΘ~o)(XD1oHoΘ~o)T+(XD1eHeΘ~e)(XD1eHeΘ~e)T (12)

where we define D1 as a matrix whose columns are an orthonormal basis spanning the null space of D1, and

XD1o=XoD1,XD1e=XeD1 (13)
QD1=XD1oXD1oT+XD1eXD1eT (14)
Θ~o=Θo(D1TD1)12,Θ~e=Θe(D1TD1)12 (15)

It can be shown that separate minimization of the even and odd epoch components of (12) results in the minimization of the whole term. Therefore, the MLEs of Ho Θo, and He Θe can be obtained similarly to the H0 case. That is,

H^o,eΘ^o,e=QD112H~o,eH~o,eTQD112Xo,eD1(D1TD1)12 (16)

where H~o,e is given by the P eigenvectors corresponding to the P largest eigenvalues of QD112Xo,eD1(I+Xo,eD1TQD11Xo,eD1)1Xo,eD1TQD112.

Substituting the sample covariance matrix estimates into the exponential in each probability density function in (5) results in the exponential terms being independent of the data, and the GLRT is expressed as :

H1:R^0R^1>t (17)

The GLRT derived above assumes a low rank spatio-temporal structure for the T waves. A simpler, more general model is to the assume the T wave has no temporal and spatial structure, but instead is represented by an arbitrary rank unstructured matrix S. In this case the MLE of S is given by the sample average from the respective set of epochs, denoted as Savg,Savgo,Savge, respectively. The corresponding GLRT decides H1 if

pH1(X;Savgo,Savge,R^1)pH0(X;Savg,R^0)>r (18)

Similarly to the structured T wave case, the GLRT test statistic becomes R^0R^1, with

R^1=12NJ{i=odd2J1(XiSavgo)(XiSavgo)T}{+i=even2J(XiSavge)(XiSavge)T} (19)
R^0=12NJ{i=12J(XiSavg)(XiSavg)T} (20)

where

Savg=12Ji=12JXi,Savgo=1Ji=odd2J1Xi,Savge=1Ji=even2JXi (21)

The performance of the structured and unstructured T wave detectors is compared in the Results section.

We demonstrate the effectiveness of the detector using both synthetic and real fMCG data. The data is digitized at 520.8 Hz after analog filtering with a passband of 0.1-200 Hz. The performance of the detectors is evaluated by ROC curves. An ROC curve plots true positive rate (sensitivity) vs. false positive rate (1-specificity), where sensitivity is the probability that the test is positive for a patient who truly has the disease (TWA), and specificity is the probability that the test result is negative for a patient who truly does not have TWA.

B. Synthetic data

We generate synthetic data assuming the sensor configuration of the 37-channel superconducting quantum interference (SQUID) magnetometer (Magnes, 4D Neuroimaging, Inc., San Diego, CA) in our lab in order to facilitate the comparison between the simulated and real data. The synthetic data was obtained by superimposing a repeated, high SNR T-wave on a background of realistic noise. The T-wave signal was obtained from a high-SNR averaged fMCG waveform, taken from a fetal LQTS patient at 34 weeks’ gestation. The noise was from a normal pregnant patient at 11 6/7 weeks’ gestation; which contained only environment noise and maternal interference. TWA is simulated by varying the amplitude of even/odd beats. Since the duration of TWA can be short as 10 seconds, we choose 2J = 20 beats of data for each TWA case. We generated 200 TWA cases and 200 cases with identical even and odd beat T-waves, which were used as a control to evaluate the probability of false detection. The fMCG signal is commonly modeled as an equivalent current dipole. In this model, the spatial matrix H is rank P = 2. In a typical fMCG signal, the T-wave has the majority of its energy in the frequency band 0-20 Hz. We chose the temporal bases (C) to model this frequency range as described in [23].

We also examine the detector performance as a function of the TWA SNR when sensitivity or specificity is fixed. If the false positive rate is fixed, the true positive rate will be low when SNR is low, and will increase as SNR increases. Our goal is to identify the SNR required for reliable detection at clinically acceptable false positive rates. We simulated multiple SNRs by fixing the odd beats, and varying the amplitude of even beats. This has the effect of varying the size of the change between even and odd beats and consequently varies the signal component of the SNR.

Variation of the signal amplitude is common in real data. For example, maternal breathing movements typically produce a 10-20% variation in fetal signal amplitude. Consequently, we also assessed the influence of variance in the even and odd beat T-wave amplitudes. We chose an SNR of 0.158, which corresponds to a 50% amplitude difference between the mean even and mean odd epochs in the TWA data. Typically, the signal variance is proportional to the mean signal. Thus, we introduced variance into the amplitudes by setting the standard deviation of the amplitudes for the even and odd beats equal to 20% and 40% of their means.

C. Real data

We retrospectively reviewed the data from 11 patients with confirmed LQTS. Subjects with LQTS typically have large T-waves, and macroscopic TWA can often be identified visually. Four of the eleven LQTS patients were found to have intermittent macroscopic TWA. Figure 1 shows examples of fMCG tracings during TWA. For visual clarity, maternal interference was removed from the recordings depicted in Fig. 1 using the method described in [25]. The data from these four patients is assumed to be positive for TWA when constructing ROC curves. Data from normal control patients is assumed to be negative for TWA. The input data for the detectors is the raw fMCG recording, which includes noise and maternal interference. The T-wave is assumed to be located within the interval from the end of the QRS complex to the beginning of the next P-wave. The data was inspected to exclude artifacts and verify that the TWA subjects follow an ABAB pattern for at least 10 beats. This criterion yielded 101 episodes of TWA. Another 261 20-beat segments were selected from six normal patients. For the structured model, we assume the same spatial rank P = 2 and temporal frequency band 0-20 Hz as in the simulations.

Fig. 1.

Fig. 1

Macroscopic TWA tracings from four confirmed LQTS patients.

For the other seven LQT patients without identified macroscopic TWA, we applied the detector to investigate possibility of MTWA in these patients. Ten minutes of raw fMCG recordings from each patient was examined. After artifact rejection we had total of 322 20-beat segments. Since we don’t know the ground truth of MTWA in these patients, it is not possible to compute ROC curves for this data. Therefore, we choose three false positive ratios, 5%, 3%, and 1% in the control population. With detection thresholds obtained the known macroscopic TWA patients, we compare the detection rate of TWA in these four patients with those in the control population.

III. Results

A. Synthetic data

Figure 2 shows ROC for the two models when there is 40% amplitude difference between the even and odd beats in TWA. We chose to define the SNR for detection of TWA as ǁSeSoǁ /RMS, where ǁ is the L2 norm and RMS denotes the root mean square of the noise summed across all channels. This definition measures the difference between even and odd T waves summed across all channels and time samples relative to the noise. The SNR is 0.127 in Fig. 2. The results show that the structured detector (5) performs much better than the non-structured detector (18).

Fig. 2.

Fig. 2

ROC curves obtained using synthetic data for structured rank 2 and unstructured models at SNR=0.127.

Figure 3 displays the true positive rates as a function of varying SNR when the false positive rate was fixed at 3% in each simulation. The results shows that the true positive increases as SNR increases.

Fig. 3.

Fig. 3

True positive rate for the structured rank 2 and unstructured models as a function of SNR for 3% false positive rate using synthetic data.

Figure 4 shows that the introduction of amplitude variation with 20% standard deviation results in a slight loss of detectability for true positive rates exceeding 0.9 in the low rank detector. The degradation is greater in the presence of 40% standard deviation amplitude variation, but the low rank detector with 40% variation significantly outperforms the unstructured detector with no amplitude variation.

Fig. 4.

Fig. 4

ROC curves for different levels of variability in the even and odd beat amplitudes for structured rank 2 and unstructured signal models.The standard deviation of the variability introduced into the even and odd beats is expressed as a percentage of the even and odd beat amplitudes, respectively.

B. Application to real data

Figure 5 shows that the performance is clearly better for the low spatio-temporal rank model than for the unstructured model.

Fig. 5.

Fig. 5

ROC curves for rank 2 structured and unstructured models derived from actual patient recordings.

The performance of rank 1, 2, 3, and 8 structured models was compared in the structured model to confirm the validity of the low rank approximation. Figure 6 shows that the rank 1 model clearly gives inferior results. The performance of rank 2, 3, and 8 models is similar.

Fig. 6.

Fig. 6

ROC curves for the structured model and rank 1, 2, 3, and 8 signal models based on patient recordings.

We also investigated the effect of using different frequency bands in the structured model with recorded patient data. Figure 7 compares the rank 2 signal model detection performance for frequency bands 0 ≤ f ≤ 5; 0 ≤ f ≤ 10; 0 ≤ f ≤ 20; 0 ≤ f ≤ 40; 4 ≤ f ≤ 20, and 8 ≤ f ≤ 20 Hz. The detector performs similarly when the frequency band is chosen to be 0 ≤ f ≤ 5; 0 ≤ f ≤ 10; 0 ≤ f ≤ 20, and 0 ≤ f ≤ 40 Hz, but degrades markedly when low frequencies are excluded. The results indicate that the low frequency signal components are critical to detection performance.

Fig. 7.

Fig. 7

ROC curves for the rank 2 spatial model with different assumed signal bandwidths.

For the other seven LQT patients without identified macroscopic TWA, the structured model with rank 2 and frequency band 0 ≤ f ≤ 20 Hz was applied to a total of 322 20-beat segments. The detection thresholds of the three false positive ratios, 5%, 3%, and 1% in the control population were obtained from the ROC curve in Fig. 5, which was generated from the four known macroscopic TWA patients. TWA is detected in 9.3%, 7.8%, and 6.2%, respectively, of the segments in the other seven LQTS patients. Figure 8 shows one example of MTWA detection. The top panel is a 10 sec rhythm strip of raw and processed fetal signals from one of the 37 channels. It is difficult to visually detect TWA in the raw tracings of individual channel due to the presence of maternal interference and noise, yet the MLE of the T-waves with the structured model shows a clear difference between even and odd beats.

Fig. 8.

Fig. 8

a) Raw fMCG tracing for a segment detected to be positive for TWA, taken from the channel in which TWA is most prominent. F: fetal QRS, M:maternal QRS. b) The data shown in a) following removal of maternal interference. Arrows indicate the first odd and even beats c) MLE estimation of the odd epochs using a rank 2 signal model. d) MLE estimation of the even epochs using a rank 2 signal model. The bold line in c) and d) indicates the channelshown in a) and b)

IV. Discussion

In this study we developed and evaluated a new statistical detector for the detection of TWA in the fetus. In addition to its excellent performance, several attributes of the detector make it well suited for fetal application. First, it is capable of detecting brief episodes of TWA, which are common in the fetus. We are able to accurately detect TWA in epochs comprised of just 20 beats, equivalent to about 10 seconds in duration. Second, it is remarkably immune to interference, including maternal interference. Maternal T-wave interference is especially problematic due to its large amplitude and its ability to mimic fetal TWA. The maternal T-wave has morphology similar to that of the fetal T-wave and commonly occurs at a rate approximately half that of the fetal T-wave.

A major difference between our methods and those of Martinez and coworkers [19], [20], who also used the GLRT, is that we model the fetal T-wave as a low rank, low bandwidth signal. This spatiotemporal model enables us to use the collective data from all channels to formulate a true multichannel detector, whereas the multi-lead methods proposed by Martinez and co-workers apply preprocessing and transformations to the original leads to isolate the TWA components, and then perform detection one at a time on the transformed leads. A further advantage of our approach is improved estimation of the noise statistics, i.e. sensor covariance, as discussed below. In combination with the spatiotemporal model, this significantly improves detection performance and provides a superior estimate of the T-waveform, compared to estimating the signal by averaging. The detector performs well for models with spatial rank as low as 2. This result is compatible with the expectation that the fMCG can be approximately modeled by a current-dipole since the size of the fetal heart is small compared to the source-to-sensor distance. For models with spatial rank of 2-8 the performance is similar, which suggests that the rank 2 model is capturing all of the useful information in the T wave. We also showed that the very low frequency signal components are the most important for detecting TWA. Detection performance suffers significantly if the model does not include signals extending down to 0.1 Hz. On the other hand, detection performance is notably insensitive to high frequency signals. In practice we typically include signals up to 20 Hz; however, performance is similar even if we includes frequencies only up to 5 Hz.

The GLRT uses maximum likelihood estimation to identify the unknown model parameters, including the noise covariance matrix. A major advantage of the maximum likelihood approach is that it is does not require signal-free data to estimate the noise covariance. This is important because the fMCG is signal-free only during the brief interval from the end of the T-wave to the beginning of the P-wave of the succeeding cardiac cycle. Thus, conventional whitening methods are restricted to using a small fraction of the data vectors to compute the noise covariance, while MLE is able to use all of them. For the brief data segments analyzed in our study it is unlikely that the noise covariance matrix could be accurately estimated using conventional methods. An additional advantage of estimating the noise from data containing the signal is that the whitening is more effective in suppressing nonstationary noise. Traditional whitening relies on an assumption that the noise statistics during the signal-free segments of the recording are the same as those during segments of the recording containing signal. This is relevant to fMCG because the dominant interference, the maternal MCG, is nonstationary.

Detector performance was validated using simulated TWA data and recordings of macroscopic TWA from LQTS subjects. Using simulated data in which the signal conformed exactly to the ABAB pattern, the detector accurately detects very low levels of TWA. In real data, however, the signal amplitude exhibits random variation from beat to beat, which confounds TWA detection. This can be due to a number of causes, such as cycle length changes or axis changes; however, the largest variations are associated with fetal and maternal breathing and body movements. When signal variance is incorporated into the simulation, detector performance degrades as expected. The macroscopic TWA data was used to assess detector performance for the various MLE models, using real data that incorporates the many nonideal characteristics of a real fMCG signal, such as maternal MCG interference, fetal and maternal movement artifact, environmental noise, signal variance, and TWA that does not exactly follow the ABAB pattern. The results corroborate that a low-rank, low bandwidth model is able to accurately represent the real signal and improve detector performance. Our method was then applied to data from LQTS subjects without macroscopic TWA. The detection rate of TWA is approximately five times greater for LQTS subjects than for normal subjects. It is not possible to compute ROC curves for this data because we don’t know ground truth, but these results exemplify how our method may be used to detect low amplitude TWA in patients at risk of TWA. Further validation studies are needed in a larger population of at-risk patients.

Our detector addresses a critical need for an objective, automated method of detecting TWA in the fetus. fMCG recordings can be an hour in length, and there is no way to predict when TWA may occur. It is impractical to manually scan through all of the channels of the entire recording to search for TWA; thus an automated method is needed even for detection of macroscopic TWA. Our detector is also very convenient to use because it is applied to the raw data. It does not require the user to remove maternal interference or other artifact. It only requires detection of the fetal QRS complexes, but this is a simple and routine part of fMCG data analysis.

Acknowledgments

This work was supported by the National Institutes of Health under Grant R01 HL63174.

Contributor Information

Suhong Yu, Department of Medical Physics, University of Wisconsin-Madison, 1111 Highland Ave, Madison WI 53705 USA (syu25@wisc.edu)..

Barry D. Van Veen, Department of Electrical and Computer Engineering, University of Wisconsin-Madison, Madison, WI53706 USA (vanveen@engr.wisc.edu)..

Ronald T. Wakai, Department of Medical Physics, University of Wisconsin-Madison, Madison WI 53705 USA.

References

  • [1].Schwartz PJ. The long qt syndrome. Current Problems in Cardiology. 1997;vol. 22(no. 6):302–351. doi: 10.1016/s0146-2806(97)80009-6. [DOI] [PubMed] [Google Scholar]
  • [2].Schwartz PJ, Stramba-Badiale M, Segantini A, Austoni P, Bosi G, Giorgetti R, Grancini F, Marni ED, Perticone F, Rosti D, Salice P. Prolongation of the qt interval and the sudden infant death syndrome. New England Journal of Medicine. 1998;vol. 338(no. 24):1709–1714. doi: 10.1056/NEJM199806113382401. [DOI] [PubMed] [Google Scholar]
  • [3].Narayan SM. T-wave alternans and the susceptibility to ventricular arrhythmias. Journal of the American College of Cardiology. 2006;vol. 47(no. 2):269–281. doi: 10.1016/j.jacc.2005.08.066. [DOI] [PubMed] [Google Scholar]
  • [4].Korhonen P, Vaananen H, Makijarvi M, Katila T, Toivonen L. Repolarization abnormalities detected by magnetocardiography in patients with dilated cardiomyopathy and ventricular arrhythmias. J Cardiovasc Electrophysiol. 2001;vol. 12(no. 7):772–7. doi: 10.1046/j.1540-8167.2001.00772.x. [DOI] [PubMed] [Google Scholar]
  • [5].Moss AJ, Zareba W, Hall WJ, Klein H, Wilber DJ, Cannom DS, Daubert JP, Higgins SL, Brown MW, Andrews ML. Prophylactic implantation of a defibrillator in patients with myocardial infarction and reduced ejection fraction. N Engl J Med. 2002;vol. 346(no. 12):877–83. doi: 10.1056/NEJMoa013474. [DOI] [PubMed] [Google Scholar]
  • [6].Bardy GH, Lee KL, Mark DB, Poole JE, Packer DL, Boineau R, Domanski M, Troutman C, Anderson J, Johnson G, McNulty SE, Clapp-Channing N, Davidson-Ray LD, Fraulo ES, Fishbein DP, Luceri RM, Ip JH, Investigators S-H. Amiodarone or an implantable cardioverter-defibrillator for congestive heart failure. New England Journal of Medicine. 2005;vol. 352(no. 3):225–237. doi: 10.1056/NEJMoa043399. [DOI] [PubMed] [Google Scholar]
  • [7].Haghjoo M, Arya A, Sadr-Ameli MA. Microvolt t-wave alternans: A review of techniques, interpretation, utility, clinical studies, and future perspectives. International Journal of Cardiology. 2006;vol. 109(no. 3):293–306. doi: 10.1016/j.ijcard.2005.06.049. [DOI] [PubMed] [Google Scholar]
  • [8].Calo L, De Santo T, Nuccio F, Sciarra L, De Luca L, Stefano LMD, Piroli E, Zuccaro L, Rebecchi M, de Ruvo E, Lioy E. Predictive value of microvolt t-wave alternans for cardiac death or ventricular tachyarrhythmic events in ischemic and nonischemic cardiomyopathy patients: A meta-analysis. Annals of Noninvasive Electrocardiology. 2011;vol. 16(no. 4):388–402. doi: 10.1111/j.1542-474X.2011.00467.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [9].Martinez JP, Olmos S. Methodological principles of t wave alternans analysis: A unified framework. IEEE Transactions on Biomedical Engineering. 2005;vol. 52(no. 4):599–613. doi: 10.1109/TBME.2005.844025. [DOI] [PubMed] [Google Scholar]
  • [10].Rosenbaum DS, Albrecht P, Cohen RJ. Predicting sudden cardiac death from t wave alternans of the surface electrocardiogram: Promise and pitfalls. Journal of Cardiovascular Electrophysiology. 1996;vol. 7(no. 11):1095–1111. doi: 10.1111/j.1540-8167.1996.tb00487.x. [DOI] [PubMed] [Google Scholar]
  • [11].Nearing BD, Verrier RL. Modified moving average analysis of t-wave alternans to predict ventricular fibrillation with high accuracy. Journal of Applied Physiology. 2002;vol. 92(no. 2):541–549. doi: 10.1152/japplphysiol.00592.2001. [DOI] [PubMed] [Google Scholar]
  • [12].Burattini L, Zareba W, Burattini R. Assessment of physiological amplitude, duration, and magnitude of ecg t-wave alternans. Ann Noninvasive Electrocardiol. 2009;vol. 14(no. 4):366–74. doi: 10.1111/j.1542-474X.2009.00326.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [13].Verrier RL, Klingenheben T, Malik M, El-Sherif N, Exner DV, Hohnloser SH, Ikeda T, Martinez JP, Narayan SM, Nieminen T, Rosenbaum DS. Microvolt t-wave alternans physiological basis, methods of measurement, and clinical utility-consensus guideline by international society for holter and noninvasive electrocardiology. Journal of the American College of Cardiology. 2011;vol. 58(no. 13):1309–1324. doi: 10.1016/j.jacc.2011.06.029. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [14].Cuneo BF, Horigome H, Eckstein G, Strasburger J, Wakai R. Fetal long qt syndrome: The qtc predicts symptom severity - a magnetocardiographic study. Circulation. 2009;vol. 120(no. 18):S609–S610. [Google Scholar]
  • [15].Zhao H, Strasburger JF, Cuneo BE, Wakai RT. Fetal cardiac repolarization abnormalities. American Journal of Cardiology. 2006;vol. 98(no. 4):491–496. doi: 10.1016/j.amjcard.2006.03.026. [DOI] [PubMed] [Google Scholar]
  • [16].Cuneo BF, Ovadia M, Strasburger JF, Zhao H, Petropulos T, Schneider J, Wakai RT. Prenatal diagnosis and in utero treatment of torsades de pointes associated with congenital long qt syndrome. American Journal of Cardiology. 2003;vol. 91(no. 11):1395–8. doi: 10.1016/s0002-9149(03)00343-6. [DOI] [PubMed] [Google Scholar]
  • [17].Simpson JM, Maxwell D, Rosenthal E, Gill H. Fetal ventricular tachycardia secondary to long qt syndrome treated with maternal intravenous magnesium: case report and review of the literature. Ultrasound in Obstetrics & Gynecology. 2009;vol. 34(no. 4):475–480. doi: 10.1002/uog.6433. [DOI] [PubMed] [Google Scholar]
  • [18].Kay SM. Fundamentals of statistical signal processing:detection theory. Prentice-Hall PTR. 1993:200–206. [Google Scholar]
  • [19].Martinez JP, Olmos S. A robust t-wave alternans detector based on the glrt for the laplacian noise distribution. Computers in Cardiology. :677–680. [Google Scholar]
  • [20]. – Detection of t wave alternans in nonstationary noise: a glrt approach. Computers in Cardiology. :161–164. [Google Scholar]
  • [21].Dogandzic A, Nehorai A. Estimating evoked dipole responses in unknown spatially correlated noise with eeg/meg arrays. IEEE Transactions on Signal Processing. 2000;vol. 48(no. 1):13–25. [Google Scholar]
  • [22]. – Generalized multivariate analysis of variance. IEEE Signal Processing Magazine. 2003;vol. 20(no. 5):39–54. [Google Scholar]
  • [23].Baryshnikov BV, Van Veen BD, Wakai RT. Maximum-likelihood estimation of low-rank signals for multiepoch meg/eeg analysis. IEEE Transactions on Biomedical Engineering. 2004;vol. 51(no. 11):1981–1993. doi: 10.1109/TBME.2004.834285. [DOI] [PubMed] [Google Scholar]
  • [24].Murihead R. Aspects of Multivariate Statistical Theory. Wiley; New York: 1982. [Google Scholar]
  • [25].Yu SH, Wakai RT. Maternal mcg interference cancellation using splined independent component subtraction. IEEE Transactions on Biomedical Engineering. 2011;vol. 58(no. 10):2835–2843. doi: 10.1109/TBME.2011.2160635. [DOI] [PMC free article] [PubMed] [Google Scholar]

RESOURCES