- Research
- Open access
- Published:

# Identification of recurring patterns in fractionated atrial electrograms using new transform coefficients

*BioMedical Engineering OnLine*
**volumeÂ 11**, ArticleÂ number:Â 4 (2012)

## Abstract

### Background

Identification of recurrent patterns in complex fractionated atrial electrograms (CFAE) has been used to differentiate paroxysmal from persistent atrial fibrillation (AF). Detection of the atrial CFAE patterns might therefore be assistive in guiding radiofrequency catheter ablation to drivers of the arrhythmia. In this study a technique for robust detection and classification of recurrent CFAE patterns is described.

### Method

CFAE were obtained from the four pulmonary vein ostia, and from the anterior and posterior left atrium, in 10 patients with paroxysmal AF and 10 patients with longstanding persistent AF (216 recordings in total). Sequences 8.4 s in length were analyzed (8,192 sample points, 977 Hz sampling). Among the 216 sequences, two recurrent patterns A and B were substituted for 4 and 5 of the sequences, respectively. To this data, random interference, and random interference + noise were separately added. Basis vectors were constructed using a new transform that is derived from ensemble averaging. Patterns A and B were then detected and classified using a threshold level of Euclidean distance between spectral signatures as constructed with transform coefficients.

### Results

In the presence of interference, sensitivity to detect and distinguish two patterns A and B was 96.2%, while specificity to exclude nonpatterns was 98.0%. In the presence of interference + noise, sensitivity was 89.1% while specificity was 97.0%.

### Conclusions

Transform coefficients computed from ensemble averages can be used to succinctly quantify synchronized patterns present in AF data. The technique is useful to automatically detect recurrent patterns in CFAE that are embedded in interference without user bias. This quantitation can be implemented in real-time to map the AF substrate prior to and during catheter ablation.

## Background

Radiofrequency catheter ablation is often used for successful treatment of atrial fibrillation (AF), and is guided in part by the morphology of electrograms recorded from the catheter tip. Of particular interest are complex fractionated atrial electrograms (CFAE), which are composed of multiple deflections with varying baseline, or continuous deflections with low voltage [1]. The CFAE may represent the arrhythmogenic substrate for AF. Ablating CFAE can increase the cycle length of the arrhythmia, suggesting the importance of some of these regions as drivers to maintain AF [2]. Ablation of CFAE may improve outcome of the catheter ablation procedure [3]. Progress in the development of signal processing algorithms to identify CFAE can improve the efficacy of ablation strategies [4, 5]. Although AF may originate in the pulmonary veins (PV), in many patients, particularly those with the longstanding persistent type, other areas of the left atrium must be ablated to successfully stop the arrhythmia. However, the precise characteristics of atrial electrograms that would suggest that a particular area should be ablated is currently the subject of debate. Moreover, differing techniques for CFAE quantitation do not necessarily identify the same areas for ablation [6, 7]. Furthermore, CFAE identified outside the PVs often represent a large surface area of tissue that when ablated in its entirety, can increase procedure time and the possibility of patient morbidity. Thus the need to recognize CFAE with special quantitative characteristics that when ablated can improve outcome. The presence of morphologic differences and repetitive patterns in CFAE have been observed and quantified as a way to distinguish paroxysmal from longstanding persistent AF patients [8, 9]. If such patterns could be distinguished from one recorded sequence to the next, then the substrate could be mapped based on pattern recurrence, which is likely related to degree of arrhythmogenicity [8, 9].

In previous work we described a method of spectral estimation and transformation for analysis of atrial fibrillation data [10â€“12]. Since this transform is data-driven, the orthogonal basis vectors are unique to the particular data set being analyzed. Thus it is possible to extract the original patterns from which the signals were generated from any additive noise and interference that may be present. As is shown in this study, if a recurrent pattern is present in CFAE, it can be detected by generating and then comparing transform coefficients, and is robust to presence of additive random noise and interference. Pattern recognition techniques are then used to distinguish two recurring patterns from nonpatterns present in the CFAE [13, 14].

## Methods

### A Clinical data acquisition

Electrograms were recorded in a series of twenty patients referred to the Columbia University Medical Center cardiac electrophysiology (EP) laboratory for catheter ablation of AF. These recordings were obtained prospectively as approved by the Internal Review Board at Columbia University Medical Center, but analyzed retrospectively after the catheter ablation procedures were completed using our standard clinical protocols. Ten patients had documented clinical paroxysmal (acute) AF, with a normal sinus rhythm as their baseline rhythm in the electrophysiology laboratory. Atrial fibrillation was induced by burst pacing from the coronary sinus or the lateral right atrial wall, and the arrhythmia persisted for at least 10 minutes for those signals to be included in the retrospective analysis. Ten other patients had persistent (longstanding) AF, and had been in AF without interruption for 1-6 years prior to the catheter mapping and ablation procedure. Bipolar electrograms of at least 10 seconds in duration, recorded from the distal ablation electrode during arrhythmia, were bandpass filtered by the system at acquisition to remove baseline drift and high frequency noise (30-500 Hz), sampled at 977 Hz, and stored. Although the bandpass high corner was slightly greater than the Nyquist frequency, negligible signal energy resides in the region [11].

Only digitized signals identified as CFAE by two cardiac electrophysiologists were included in the retrospective analysis. The CFAE recordings were obtained from two sites outside the ostia of each of the four PVs. Similar recordings were obtained at two sites on the endocardial surface of the left atrial free wall, one in the mid-posterior wall, and another on the anterior ridge at the base of the left atrial appendage. From each of these recordings, 8.4-second sequences (8,192 sample points) were extracted and analyzed. A total of 240 such sequences were acquired - 120 from paroxysmal and 120 from longstanding AF patients. Subsequently, only 216 of the recordings were confirmed as CFAE, and only these were used for subsequent analysis. All CFAE signals were normalized to mean zero and unity variance prior to further processing [12].

### B Transform coefficients and the spectral signature

In previous work a mathematical transformation was derived based upon ensemble averaging [12]. For averaging, approximate stationarity of the noise process is assumed. The ensemble average vector {\underset{\xcc\xb2}{e}}_{w} of length *w* is then calculated by averaging *n* successive mean zero segments of signal \underset{\xcc\xb2}{x} having a length *N*, with each segment being of integer length *w*:

The summing matrix is given by:

The {\mathbf{I}}_{w} are w\xc3\u2014w identity submatrices and are used to form the signal segments of length *w* that are extracted from *x* and summed. Thus {\underset{\xcc\xb2}{e}}_{w} is computed by summing segments of the signal having period *w* sample points. The summing matrix {\mathbf{U}}_{w} is padded at right and bottom edge if N/w is not an integer, as described elsewhere [12]. The relationship between frequency *f* and period *w* is given by:

For this study, a range of w=1000\xe2\u02c6\u201950 sample points (f=0.977\text{Hz}\xe2\u02c6\u201919.54\text{Hz}) was used for analysis. The power in the ensemble average at period *w* is given by:

The scaling terms 1/w and 1/n account for the *w* summations used to calculate the power, and the *n* summations used to form each ensemble average. The transformation matrix is:

Signal *x* of length *N* can then be decomposed using the linear transformation:

where {\underset{\xcc\xb2}{a}}_{w} are basis vectors, *n* is the number of summations for ensemble averaging, and {\underset{\xcc\xb2}{a}}_{w} and \underset{\xcc\xb2}{x} are N\xc3\u20141 in dimension. The basis vectors {\underset{\xcc\xb2}{a}}_{w} for all *w* characterize the periodic behaviors present in signal vector \underset{\xcc\xb2}{x}, and they are linearly independent except when small integer relationships exist between periods {w}_{i} and {w}_{j} of any particular pair [12]. Columnwise, each identity submatrix in Equation 5b extracts and sums one segment of *w* sample points in \underset{\xcc\xb2}{x} (Equation 6), with the sum total being projected onto the canonical basis. Rowwise the identity matrices serve to repeat the ensemble average of length *w* over a total length *N* during construction of {\underset{\xcc\xb2}{a}}_{w}. Thus the transformation matrix of Equations 5a and 5b decomposes the signals into periodic ensemble averages. These orthogonal basis vectors can be used to project signal \underset{\xcc\xb2}{x} into ensemble space:

where as in Equation 4b, the inner products are again scaled to account for the total number of summations. Equation 7 states that if each signal segment of length *w* is correlated with the ensemble average at *w* (LHS), the resulting transform coefficient is the ensemble average power at *w* (RHS). The power spectrum can either be plotted versus period *w*, or versus frequency *f*, and to level the noise floor, which depends on the number of summations for averaging, it is scaled by \sqrt{n} when graphed [12]. The transformation process can be analyzed by expanding Equation 7:

In the middle part of Equation 8, when the mathematical operations are done from right to left, then starting with signal \underset{\xcc\xb2}{x}, the ensemble average is generated by {\mathbf{U}}_{w}\phantom{\rule{0.25em}{0ex}}\underset{\xcc\xb2}{x}, orthogonal basis vectors are formed by {\mathbf{U}}_{w}^{T}\phantom{\rule{0.25em}{0ex}}{\mathbf{U}}_{w}\phantom{\rule{0.25em}{0ex}}\underset{\xcc\xb2}{x}, and transform coefficients by {\underset{\xcc\xb2}{x}}^{T}\phantom{\rule{0.25em}{0ex}}{\mathbf{U}}_{w}^{T}\phantom{\rule{0.25em}{0ex}}{\mathbf{U}}_{w}\phantom{\rule{0.25em}{0ex}}\underset{\xcc\xb2}{x}.

Now consider two signals \underset{\xcc\xb2}{x} and \underset{\xcc\xb2}{y}, such that:

When the inner product between signal \underset{\xcc\xb2}{z} and the basis vectors of \underset{\xcc\xb2}{z} is computed:

it is evident that the transform coefficients are also power spectral coefficients {P}_{wz}, which are nonnegative. By comparison, when the inner product is computed for signal \underset{\xcc\xb2}{x} or for signal \underset{\xcc\xb2}{y} with the basis vectors of \underset{\xcc\xb2}{z}, the resulting transform coefficients are not power spectral coefficients since they can be negative as well as positive. Instead they can be signified by coefficients {C}_{w}:

Thus unlike power spectral coefficients {P}_{wz}, the coefficients {C}_{wx} and {C}_{wy} plotted for all *w* are not power spectra. Rather, they represent the power in each basis vector derived from \underset{\xcc\xb2}{z} that is correlated to \underset{\xcc\xb2}{x} and to \underset{\xcc\xb2}{y}, respectively. Hence they can be defined as spectral signatures, having similarities to the power spectra of \underset{\xcc\xb2}{x} and \underset{\xcc\xb2}{y} respectively, but using, for reconstruction, basis vectors that are only partially correlated with each signal. Considering the relationship between \underset{\xcc\xb2}{x}, \underset{\xcc\xb2}{y}, and \underset{\xcc\xb2}{z}, several inequalities should be noted:

As the similarity of \underset{\xcc\xb2}{x} and \underset{\xcc\xb2}{y} to \underset{\xcc\xb2}{z} increases, the inequalities described by Equations 12-14 tend toward becoming equalities. The relationship between the spectral signatures of \underset{\xcc\xb2}{x} and \underset{\xcc\xb2}{y}, and the power spectrum of \underset{\xcc\xb2}{z}, is given by:

Equation 15 states that the sum of the spectral signatures of \underset{\xcc\xb2}{x} and \underset{\xcc\xb2}{y} with respect to \underset{\xcc\xb2}{z} equals the power spectrum of \underset{\xcc\xb2}{z}.

Now suppose that \underset{\xcc\xb2}{z} is an average of many signals, some of which contain a particular pattern A or a different pattern B. These two repeating patterns A and B will be reinforced, and the random content will be reduced, by the summation that forms \underset{\xcc\xb2}{z}. The basis vectors formed from this average will therefore mostly be constructed from a combination of the features from pattern A and those of pattern B. Hence we would expect that if a particular input signal happened to contain pattern A or pattern B, then the resulting transform coefficients {C}_{w} would be similar to {P}_{w}. In contrast, if the input signal is a random vector unrelated to pattern A or B, the resulting transform coefficients {C}_{w} for all *w* would approach zero and contain both positive and negative values, due to the lack of correlation of the signal with the basis vectors. These properties can be exploited for detection of two recurring patterns A and B, as described in the next section.

### C Paradigm for recognition of recurrent patterns in atrial fibrillation signals

Patterns A and B described in the last section can be detected as shown in the flow diagram in Figure 1. Consider a set of *m* random signals, a few of which contain pattern A or pattern B embedded in additive random noise and interference, as represented at top left in Figure 1. If the *m* signals are averaged, only recurring patterns will be reinforced in the resulting mean signal (top middle, Figure 1). When the power spectrum *P* is generated from this mean signal (middle portion of Figure 1), it will contain elements of any recurring patterns. If the transform coefficients of each of the *m* individual signals are obtained using the basis vectors constructed from the mean signal, the resulting spectral signatures {S}_{i} will be similar to *P* only for those signals which contain a recurring pattern. As suggested previously [12], the Euclidean distance (ED) between power spectrum *P* and a particular spectral signature {S}_{i} will be large if {S}_{i} lacks a recurring pattern, and small if it contains a recurring pattern. A first threshold level (Th1) of Euclidean distance ED1 can therefore be used to detect the presence of a candidate pattern in {S}_{i}, for all *i* (lower right, Figure 1). Once the candidate patterns in the series are detected, their spectral signatures can be compared one to another using a second Euclidean distance and threshold (ED2 and Th2). The Euclidean distance will be shorter if {S}_{i} and {S}_{j} are generated from two signals *i* and *j* containing the same pattern. The Euclidean distance will be longer if {S}_{i} and {S}_{j} are generated from signals containing different patterns, or if one or both of the signals contain no pattern. The latter can occur if the first threshold is set to a longer value of Euclidean distance, so that some random signals lacking patterns are initially identified as candidate patterns. Therefore, threshold selection is a tradeoff between excluding actual patterns (shorter Euclidean distance) versus including nonpatterns (longer Euclidean distance).

The method described above can be automated to detect recurring patterns without manual intervention, except to set threshold level Th1 for pattern detection, and threshold level Th2 to cluster and classify the detected patterns. For the procedure to work, the patterns contained in the signals must be synchronous so that they reinforce upon averaging. This can often be achieved either by simultaneously recording from many atrial sites, or by successive recording using a suitable trigger such as an *F* wave peak when present in the electrocardiogram.

To test the method, signals containing patterns were simulated as follows. Of the 216 CFAE recordings, two were selected at random to be patterns. The first of these, pattern A, was substituted for four other recordings while the second, pattern B, was substituted for three other recordings, selected at random from recording 2 through 215. Thus pattern A was made to occur five times and pattern B four times among the set of m=216 recordings. This set was summed to form the mean signal (top in the block diagram, Figure 1). Interference was then added by combining each signal with the preceding and following signal in the series without replacement, that is:

Of the final series of m\xe2\u02c6\u20192=214 signals with interferences, 27 thus contained one of two recurring patterns A and B due to the method of combination described in Equation 16. This final set was used for transformation, with patterns A and B detected according to the flow diagram in Figure 1. Since the values of *w* ranged from 50 to 1,000, each spectrum and spectral signature was 951-dimensional. The process was repeated with different patterns selected at random for a total of 10 trials. As an additional test, all of the steps above were repeated with random noise added to each CFAE as well as interference. The random noise vectors with Gaussian distribution were approximately mean zero, and truncated with a standard deviation of Â±2 millivolts, twice the normalized CFAE standard deviation.

The sensitivity and specificity of the method was computed separately for CFAE with interference, and for CFAE with interference + random noise, by considering those signals containing a pattern to be positives and those signals lacking a pattern to be negatives. Thus:

## Results

In Figure 2 are presented examples of signals and additive interferences. Identical scales are used in all panels. In panel A is shown a CFAE from the right superior pulmonary vein ostia in a paroxysmal AF patient. In panel B is depicted a CFAE from the anterior left atrial free wall in another paroxysmal AF patient. Both signals have mostly continuous activation, and the large deflections have different shape and timing at each occurrence. Only 1,000 of 8,192 sample points are shown for clarity (approximately 1 second), although 8,192 points were used for the calculations described in the Methods. The signals of panels A and B in Figure 2 were used as patterns A and B, respectively, which were made to occur five and four times, respectively, in the final data set of 214 signals used for analysis. Examples of additive interference are shown in corresponding panels C and D. The interferences are each a combination of two AF signals unrelated to signals patterns A and B. The same patterns after addition of the interferences are shown in the corresponding panels E and F in Figure 2. With the additive interferences, the original signals are almost completely unrecognizable visually. Most of the original signal deflections are masked by interference.

The spectrum of the combined patterns A and B from Figure 2A, B is shown in Figure 3A in the range 1-12 Hz, where pattern A (signal \underset{\xcc\xb2}{x}) + pattern B (signal \underset{\xcc\xb2}{y}) form the combined signal \underset{\xcc\xb2}{z}. Several prominent peaks are present in the spectrum of \underset{\xcc\xb2}{z}, likely related to individual components of the two signals. The transform coefficients of \underset{\xcc\xb2}{x} and \underset{\xcc\xb2}{y} with respect to the basis vectors of \underset{\xcc\xb2}{z} were separately calculated and then added together and plotted as a red trace in Figure 3B, shown with overlapping \underset{\xcc\xb2}{z} spectrum from Figure 3A (black). There is perfect overlap in accord with Equation 15. In contrast, when the spectral signatures of two other signals not related to \underset{\xcc\xb2}{x} or \underset{\xcc\xb2}{y} are obtained with respect to \underset{\xcc\xb2}{z}, their magnitude throughout the frequency range is relatively small and the transform coefficients are both positive and negative (panels C and D; same 5-unit range in ordinate scale as in Figure 3A, B).

To further elucidate the process, when the spectral signatures of \underset{\xcc\xb2}{x} and \underset{\xcc\xb2}{y} with respect to \underset{\xcc\xb2}{z} are separately plotted (Figure 4A, B, respectively), there are similarities to the \underset{\xcc\xb2}{z} spectrum of Figure 3A. Therefore, elements of the \underset{\xcc\xb2}{z} spectrum (Figure 3A) are maintained in the spectral signatures of \underset{\xcc\xb2}{x} and \underset{\xcc\xb2}{y} (Figure 4A, B respectively), suggesting that the Euclidean distances between them will be relatively small. In contrast, the elements of the \underset{\xcc\xb2}{z} spectrum are not maintained in the spectral signatures of random interferences such as those shown in Figure 3C, D, suggesting that the Euclidean distances between them will be relatively large. Finally, the spectral signatures of \underset{\xcc\xb2}{x} and of \underset{\xcc\xb2}{y} with respect to \underset{\xcc\xb2}{z}, shown again as black traces in Figure 4C, D, are similar, but not the same, as the spectra of \underset{\xcc\xb2}{x} and \underset{\xcc\xb2}{y}, which are denoted as red traces in Figure 4C, D. Based on Figures 3 and 4, the spectral signatures of \underset{\xcc\xb2}{x} and \underset{\xcc\xb2}{y} with respect to \underset{\xcc\xb2}{z} are related to the actual frequency content in signals \underset{\xcc\xb2}{x} and \underset{\xcc\xb2}{y}. However, the \underset{\xcc\xb2}{x} and \underset{\xcc\xb2}{y} spectra do not resemble each other since they are uncorrelated.

The Euclidean distance between the spectral signatures of each of 214 signals with differing additive interference, versus the spectrum of the mean signal containing two patterns A and B, is shown in Figure 5A. There are a number of downward projections which indicate increased correlation and possible instances of pattern recurrence. If the lower threshold is used, nine possible instances of repetitive patterns are selected (shown in binary form in panel B). When the upper threshold is used, eleven possible instances of repetitive patterns are selected (shown in binary form in panel C). The detected pattern type (A or B) or nonpattern (n) are shown at the bottom of panels B and C. The selection of a threshold higher along the ordinate axis in the Euclidean distance graph of panel A would enable the detection of more candidate patterns. However, whatever threshold is used, to determine and identify the presence of actual recurring patterns necessitates the last step at lower right in the pattern recognition flow diagram of Figure 1, i.e., the spectral signatures of the signals selected by threshold in Figure 5 must be compared. Due to the method of constructing signals plus interference (see the Methods), each downward projection in Figure 5B, C represents a set of three successive signals with pattern, of which the middle was used for statistical calculation.

The Euclidean distances for all pairings of spectral signatures using the upper threshold in Figure 5A (shown in binary form in Figure 5C) are given in Table 1. The first column and first row in Table 1 note the actual pattern that was selected by the upper threshold in Figure 5, and correspond to the sequence shown in Figure 5C. Since the two patterns A and B occurred only nine times in the sequence, two of the selections in Figure 5, top threshold, were of nonpatterns (n). In the case of the pairing of a spectral signature from a particular signal with itself, the Euclidean distance is zero (main diagonal in Table 1). There is symmetry above and below the main diagonal (half the table is redundant). Smaller values in Table 1 indicate shorter Euclidean distances, i.e., spectral signatures that are more similar. The Euclidean distances tend to be small for spectral signatures of pattern A embedded in one interference versus pattern A embedded in another interference, and similarly for pattern B embedded in one interference versus pattern B embedded in another interference. The Euclidean distances tend to be large for spectral signatures of pattern A versus pattern B embedded in interference, for spectral signatures of pattern A or B embedded in interference versus nonpatterns (interference only), and for spectral signatures of nonpattern versus nonpattern. Thus the patterns and nonpatterns with interference can be distinguished based on a threshold level Euclidean distance.

From inspection of Table 1, a threshold level of 0.105 normalized units would be estimative to distinguish patterns and nonpatterns with 100% sensitivity and specificity. Those pairings above 0.105 would indicate that the same pattern is not present on both signals, while pairings less than or equal to 0.105 would indicate the same pattern being present on both signals. Using the threshold 0.105 for clustering and classification in all 10 trials, the results are shown in Table 2, left-hand columns. For 10 trials, the sensitivity to correctly detect and distinguish patterns was 96.2%. The specificity to exclude nonpatterns was 98.0%. For the test of interference + noise, a threshold value for Th2 of 0.132 was found to be efficacious in a test trial, and was then used in all trials. The results are shown in Table 2, right-hand columns, with mean values of 89.1% for sensitivity and 97.0% for specificity. Thus the technique is nearly as efficacious for classification when random noise as well as interference is added to CFAE.

To show visually how an entire set of patterns with interference and interference + random noise are affected, graphs of these interactions are shown in Figures 6, 7, 8, 9 and 10 for a selected trial. In Figure 6, pattern A is shown at top for the range 0-1,000 sample points. There are large deflections representing local electrical activation, but these differ in shape and timing from one instance to the next. The five instances of interference added when this pattern occurred among the 214 CFAE sequences are shown in the lower set of graphs. Only a few elements of the original pattern remain recognizable when embedded in interference, such as the large downward deflection between 500 and 600 sample points. In Figure 7, the pattern is repeated in the top graph and in the lower graphs, the pattern is embedded with interference + random noise (same interferences as in corresponding panels of Figure 6). The resulting traces do not appear to be correlated to one another. Similarly, pattern B is shown at top in Figures 8 and 9. In the lower traces in Figures 8 and 9 are shown the four instances of pattern B with additive interference, and with additive interference + random noise, respectively. As for pattern A, there is little evident similarity of these traces to one another or to pattern B itself. Finally in Figure 10 is shown an example of a nonpattern (top), the nonpattern with interference (middle) and the nonpattern with interference + random noise (bottom). The nonpattern is mostly unrecognizable in the lower traces. Overall, the test for distinguishing CFAE patterns with additive interference mostly identified and distinguished traces such as those in Figure 6, lower panels (pattern A), from traces such as those in Figure 8, lower panels (pattern B), from nonpatterns (Figure 10 middle panel). Similarly, the test for distinguishing CFAE patterns with additive interference + noise mostly identified and distinguished traces such as those in Figure 7, lower panels (pattern A), from traces such as those in Figure 9, lower panels (pattern B), and from nonpatterns (Figure 10 bottom panel).

## Discussion

### Summary

In this study a new transform was used to characterize recurring patterns in CFAE. First, ensemble averages were computed from signal segments of length *w*, repeated for all *w* in the frequency range of interest as given by Equation 3. From each ensemble average an orthogonal basis vector is constructed by repeating the ensemble average of length *w* for the entire signal length *N* (Equation 6). The inner product between basis vector and original signal produces a transform coefficient, which is the signal power at that frequency (Equation 7). The power spectrum is a plot of the entire series of transform coefficients versus frequency. Transform coefficients resulting from the inner product of one signal with the basis vectors of another signal can take on negative as well as positive values, and will have an average level near zero if the signals are uncorrelated (Equations 11a and 11b). The correlation coefficients formed from correlated signal \underset{\xcc\xb2}{x} with the basis vectors of \underset{\xcc\xb2}{z}, as described in the Methods, can be similar to the spectrum of \underset{\xcc\xb2}{x} and is termed the spectral signature. Transform coefficients were used to detect two recurring patterns in a sequence of CFAE, embedded in interference and random noise, and to distinguish them from each other and from nonpatterns. The method was implemented and repeated for 10 trials. No manual intervention was used except to set initial threshold levels of Euclidean distance for identification of correlated content, i.e., for pattern extraction, and to distinguish the extracted patterns (Figure 1).

### Prior work in pattern recognition

Our study made use of correlation in the frequency domain to discern repetitive patterns from nonpatterns in CFAE. Electrogram pattern recognition using correlation waveform analysis has also been found useful to discern electrograms arising from arrhythmia in another study [15]. In this prior work, the electrogram shape at any particular recording site was shown to remain stable during electrophysiologic study, even during such interventions as overdrive pacing and infusion of pharmacologic agents, which included epinephrine and isoproterenol [16]. Thus we expect that our method for detecting and discerning patterns in CFAE will likely be robust to the typical interventions that are done during the course of a clinical electrophysiologic study. We also found the transformation to the frequency domain to be useful to characterize each signal and its relationship to the mean signal. Similarly, in a prior study the wavelet transform was found useful to discern atrial electrogram patterns by categorizing them into one of four classes of fractionation based on frequency and phasic relationships [4, 5]. Although the patterns used in our study were synchronized artificially for recognition, multielectrode recordings will likely be useful to simultaneously acquire data from many recording sites in which any patterns present will be synchronized. This would simplify the mapping procedure using the paradigm of Figure 1. Elsewhere, it has been shown that multiple simultaneously obtained recordings are indeed useful for rapid and accurate classification of CFAE patterns [16, 17]. Although we have not yet proposed a paradigm to relate the detected patterns to the electrophysiologic substrate, it is planned to develop such a technique for a future prospective study. Adopting a standardized description of CFAE morphology and use of reproducible methodology would enable ease of comparison between clinical trials [17].

Regarding the possible relationship of observed pattern to electrophysiologic properties of the substrate, the complexity of CFAE, as determined by pattern type, is believed to be related to the degree of organization of electrical activity [18, 19]. To reduce complexity, adaptive template matching can be used to normalize the signals with respect to atrial cycle length (*x*-scale), as well as amplitude differences (*y*-scale) [20]. This would be useful to compare patterns in persistent versus paroxysmal AF independent of the dominant frequency, which tends to be higher in the persistent type, and to compare regions of atrial fractionation having low electrogram amplitude to areas with higher electrogram amplitude [11].

### Potential advantages of the new method

The spectral signature is a graph of the correlated content between two signals in frequency space, which can be exploited for pattern recognition (see the Methods). If a series of signals is averaged and basis vectors of the mean are used to obtain the spectral signature of each individual signal, then there will be correlation between the spectrum of the mean, and the spectral signature of the individual signal, when the individual signal contains a synchronous pattern that recurs within the series. By measuring the Euclidean distance between all individual signals having spectral signatures similar to the power spectrum of the mean signal, patterns contained in the sequence can be identified, distinguished from one another, and distinguished from nonpatterns when the nonpatterns are mostly uncorrelated with respect to the mean signal. Thus the new technique is potentially useful to automatically identify and distinguish repetitive patterns present in a series of signals, once threshold levels for the Euclidean distance estimate to detect candidate patterns, and to discern patterns, are established. In the latter step, if multiple patterns are present they can also be discerned using a single threshold level, since the Euclidean distance will be short only with respect to members of the same class.

We found that best threshold levels are sensitive to the degree of additive random noise and interference, and differed when only interference was added versus interference + random noise (0.105 versus 0.132, respectively). Once the threshold levels were established based on a test trial, they were much less sensitive to particular patterns and patients i.e., the results for each trial were similar (Table 2).

### Clinical correlates

When considering the potential for recurrent patterns to appear in CFAE signals, fractionated electrogram deflection morphology is probably mechanism-dependent. Possible sources of fractionation include areas of slow electrical activation, wavefront collision, anchor points at regions driven by a reentrant circuit, and presence of multiple activation wavelets as triggered, for example, from ganglionated plexi [1]. These mechanisms are potentially distinguished both by spatiotemporal occurrence, and as described in this study by the frequency characteristics of the actual patterns. When using an automated technique for pattern detection, user bias is eliminated as a variable for defining ablation targets [1, 13, 14]. A goal of CFAE pattern recognition software is to visualize the spatial distribution of CFAE for catheter ablation [21]. Our technique can be used for spatial mapping of CFAE by type of pattern present at each recording site. CFAE are observed at both PVs and the left atrial free wall, although their occurrence at the free wall is more common in persistent AF [21]. Acute and longstanding persistent AF were shown by our group to have CFAE that differ in morphologic characteristics and degree of repetitiveness [8, 9]. Therefore, patterns in CFAE and their frequency of occurrence are likely to differ by AF type, and to present differently during mapping procedures. Although in previous work, recurring features in the form of individual deflections were measured on the order of tens of milliseconds in duration, in the current study, patterns in the data were measured over the entire sequence length used, 8,192 sample points (8.4 s). Thus the new technique assumes statistical stationarity over this time interval. Indeed, it has been shown in a previous study that 8-second lengths are ideal for characterizing the dominant frequency of CFAE [22]. Use of a noncontact catheter during clinical electrophysiologic study would enable simultaneous recording of CFAE from multiple sites. From the simultaneously recorded CFAE, far-field electrical activation patterns originating from distant drivers can be detected and localized [23]. Analysis of atrial electrogram patterns using a noncontact catheter is planned for future work. Recurring patterns in data obtained from sequential recording sites using a standard catheter may also be detectable when synchronized by a trigger such as the peak of the *F* wave in the electrocardiogram, also planned as a future study.

### Conclusions

A method was developed to recognize recurring patterns in AF data using a data-driven transform. It was shown to be efficacious for detection of recurring patterns with additive interferences and noise, simulated from actual data obtained from paroxysmal and persistent AF patients. Although the additive interference and noise rendered the original patterns almost unrecognizable by visual observation (Figures 2 6 7 8 and 9), the spectral signatures of each signal with additive interference and random noise, as related to the correlated content in the mean signal, were useful for detecting patterns, for distinguishing between two different patterns that were present, and for discerning patterns from nonpatterns using two threshold Euclidean distances. This paradigm may also be useful to develop a mechanistic understanding of paroxysmal and persistent AF, because presence of recurrent patterns can be compared and contrasted between the two AF types. It may also be useful to apply to other types of biomedical data such as ventricular tachyarrhythmias, and to videocapsule images of the small intestine, where spectral estimation from signal averaging has been described previously [24, 25].

### Limitations

Although the method described in this study was accurate for detecting simulated recurring patterns embedded in interference, real patterns may differ from one instance to the next, for example as caused by spatial and temporal jitter, which can reduce sensitivity and specificity [11]. Furthermore, the technique was shown to be useful for synchronous pattern data only. If the patterns are highly out of phase, they will not be reinforced when the mean signal is formed (Figure 1), and thus will not appear as correlated content. Therefore, synchronized pattern data is necessary for accuracy, as would more likely be effected by acquiring individual signal data from many recording sites simultaneously, or by synchronizing successively recorded data, for example by triggering the onset of the atrial recording to the presence of an *F* wave in the electrocardiogram.

## Author contributions

EJC developed the mathematical transform, conducted the data analysis, and wrote the manuscript. ABB, WW, and HG made helpful suggestions, provided the clinical data, and determined which recordings were complex fractionated atrial electrograms. All authors have read and approved the final manuscript.

## References

Monir G, Pollak SJ:

**Consistency of the CFAE phenomena using custom software for automated detection of complex fractionated atrial electrograms (CFAEs) in the left atrium during atrial fibrillation.***J Cardiovasc Electrophysiol*2008,**19:**915â€“919. 10.1111/j.1540-8167.2008.01153.xHunter RJ, Diab I, Tayebjee M, Richmond L, Sporton S, Earley MJ, Schilling RJ:

**Characterization of fractionated atrial electrograms critical for maintenance of atrial fibrillation: a randomized, controlled trial of ablation strategies (the CFAE AF trial).***Circ Arrhythm Electrophysiol*2011,**4:**622â€“629. 10.1161/CIRCEP.111.962928Hunter RJ, Berriman TJ, Diab I, Baker V, Finlay M, Richmond L, Duncan E, Kamdar R, Thomas G, Abrams D, Dhinoja M, Sporton S, Earley MJ, Schilling RJ:

**Long-term efficacy of catheter ablation for atrial fibrillation: impact of additional targeting of fractionated electrograms.***Heart*2010,**96:**1372â€“1378. 10.1136/hrt.2009.188128Kremen V, LhotskÃ¡ L, Macas M, CihÃ¡k R, Vancura V, Kautzner J, Wichterle D:

**A new approach to automated assessment of fractionation of endocardial electrograms during atrial fibrillation.***Physiol Meas*2008,**29:**1371â€“1381. 10.1088/0967-3334/29/12/002Kremen V, KordÃk P, LhotskÃ¡ L:

**Comparison of several classifiers to evaluate endocardial electrograms fractionation in human.***Conf Proc IEEE Eng Med Biol Soc*2009,**2009:**2502â€“2505.Lee G, Roberts-Thomson K, Madry A, Spence S, Teh A, Heck PM, Kumar S, Kistler PM, Morton JB, Sanders P, Kalman JM:

**Relationship among complex signals, short cycle length activity, and dominant frequency in patients with long-lasting persistent AF: a high-density epicardial mapping study in humans.***Heart Rhythm*2011,**8:**1714â€“1719. 10.1016/j.hrthm.2011.05.021Orlov MV:

**A farewell to arms: Are complex fractionated atrial electrograms doomed as a target for AF ablation?***Heart Rhythm*2011,**8:**1720â€“1721. 10.1016/j.hrthm.2011.06.013Ciaccio EJ, Biviano AB, Whang W, Gambhir A, Garan H:

**Different characteristics of complex fractionated atrial electrograms in acute paroxysmal versus long-standing persistent atrial fibrillation.***Heart Rhythm*2010,**7:**1207â€“1215. 10.1016/j.hrthm.2010.06.018Ciaccio EJ, Biviano AB, Whang W, Gambhir A, Einstein AJ, Garan H:

**Differences in repeating patterns of complex fractionated left atrial electrograms in longstanding persistent as compared with paroxysmal atrial fibrillation.***Circ Arrhythm Electrophysiol*2011,**4:**470â€“477. 10.1161/CIRCEP.110.960153Ciaccio EJ, Biviano AB, Whang W, Wit AL, Garan H, Coromilas J:

**New methods for estimating local electrical activation rate during atrial fibrillation.***Heart Rhythm*2009,**6:**21â€“32. 10.1016/j.hrthm.2008.10.016Ciaccio EJ, Biviano AB, Whang W, Wit AL, Coromilas J, Garan H:

**Optimized measurement of activation rate at left atrial sites with complex fractionated electrograms during atrial fibrillation.***J Cardiovasc Electrophysiol*2010,**21:**133â€“143. 10.1111/j.1540-8167.2009.01595.xCiaccio EJ, Biviano AB, Whang W, Coromilas J, Garan H:

**A new transform for the analysis of complex fractionated atrial electrograms.***Biomed Eng Online*2011,**10:**35. 10.1186/1475-925X-10-35Ciaccio EJ, Dunn SM, Akay M:

**Biosignal pattern-recognition and interpretation systems. 1. Fundamental concepts.***IEEE Eng Med Biol Mag*1993,**12:**89â€“98.Ciaccio EJ, Dunn SM, Akay M:

**Biosignal pattern-recognition and interpretation systems. 3. Clustering and classification.***IEEE Eng Med Biol Mag*1994,**13:**129â€“135.Finelli CJ, DiCarlo LA, Jenkins JM, Winston SA, Li PC:

**Effects of increased heart rate and sympathetic tone on intraventricular electrogram morphology.***Am J Cardiol*1991,**68:**1321â€“1328. 10.1016/0002-9149(91)90239-HAndrikopoulos G, Tzeis S, Vardas PE:

**Invasive therapy for atrial fibrillation: recent developments in ablation, navigation and mapping technology.***Heart*2011,**97:**237â€“243. 10.1136/hrt.2009.190017Hunter RJ, Diab I, Thomas G, Duncan E, Abrams D, Dhinoja M, Sporton S, Earley MJ, Schilling RJ:

**Validation of a classification system to grade fractionation in atrial fibrillation and correlation with automated detection systems.***Europace*2009,**11:**1587â€“1596. 10.1093/europace/eup351Nollo G, Marconcini M, Faes L, Bovolo F, Ravelli F, Bruzzone L:

**An automatic system for the analysis and classification of human atrial fibrillation patterns from intracardiac electrograms.***IEEE Trans Biomed Eng*2008,**55:**2275â€“2285.Faes L, Nollo G, Antolini R, Gaita F, Ravelli F:

**A method for quantifying atrial fibrillation organization based on wave-morphology similarity.***IEEE Trans Biomed Eng*2002,**49**(12 Pt 2):1504â€“1513.Theuns DA, Rivero-Ayerza M, Goedhart DM, Miltenburg M, Jordaens LJ:

**Morphology discrimination in implantable cardioverter-defibrillators: consistency of template match percentage during atrial tachyarrhythmias at different heart rates.***Europace*2008,**10:**1060â€“1066. 10.1093/europace/eun194Wu J, Estner H, Luik A, Ucer E, Reents T, Pflaumer A, Zrenner B, Hessling G, Deisenhofer I:

**Automatic 3D mapping of complex fractionated atrial electrograms (CFAE) in patients with paroxysmal and persistent atrial fibrillation.***J Cardiovasc Electrophysiol*2008,**19:**897â€“903. 10.1111/j.1540-8167.2008.01145.xBiviano AB, Coromilas J, Ciaccio EJ, Whang W, Hickey K, Garan H:

**Frequency domain and time complex analyses manifest low correlation and temporal variability when calculating activation rates in atrial fibrillation patients.***Pacing Clin Electrophysiol*2011,**34:**540â€“548. 10.1111/j.1540-8159.2010.02993.xCiaccio EJ:

**Localization of the slow conduction zone during reentrant ventricular tachycardia.***Circulation*2000,**102:**464â€“469. 10.1161/01.CIR.102.4.464Ciaccio EJ, Coromilas J, Wit AL, Garan H:

**Onset dynamics of ventricular tachyarrhythmias as measured by dominant frequency.***Heart Rhythm*2011,**8:**615â€“623. 10.1016/j.hrthm.2010.11.028Ciaccio EJ, Tennyson CA, Bhagat G, Lewis SK, Green PH:

**Robust spectral analysis of videocapsule images acquired from celiac disease patients.***Biomed Eng Online*2011,**10:**78. 10.1186/1475-925X-10-78

## Acknowledgements

No outside funding was received for this study.

## Author information

### Authors and Affiliations

### Corresponding author

## Additional information

### Competing interests

The authors declare that they have no competing interests.

## Authorsâ€™ original submitted files for images

Below are the links to the authorsâ€™ original submitted files for images.

## Rights and permissions

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

## About this article

### Cite this article

Ciaccio, E.J., Biviano, A.B., Whang, W. *et al.* Identification of recurring patterns in fractionated atrial electrograms using new transform coefficients.
*BioMed Eng OnLine* **11**, 4 (2012). https://doi.org/10.1186/1475-925X-11-4

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/1475-925X-11-4