{'fraction_non_alphanumeric': 0.0315346038114343, 'fraction_numerical': 0.016850551654964893, 'mean_word_length': 4.6393665158371045, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
The effect of precordial lead displacement on ECG morphology

Inaccurate electrode placement and differences in inter-individual human anatomies can lead to misinterpretation of ECG examination. The aim of the study was to investigate the effect of precordial electrodes displacement on morphology of the ECG signal in a group of 60 patients with diagnosed cardiac disease. Shapes of ECG signals recorded from precordial leads were compared with signals interpolated at the points located at a distance up to 5 cm from lead location. Shape differences of the QRS and ST-T-U complexes were quantified using the distribution function method, correlation coefficient, root-mean-square error (RMSE), and normalized RMSE. The relative variability (RV) index was calculated to quantify inter-individual variability. ECG morphology changes were prominent in all shape parameters beyond 2 cm distance to precordial leads. Lead V2 was the most sensitive to displacement errors, followed by leads V3, V1, and V4, for which the direction of electrodes displacement plays a key role. No visible changes in ECG morphology were observed in leads V5 and V6, only scaling effect of signal amplitude. The RV ranged from 0.639 to 0.989. Distortions in ECG tracings increase with the distance from precordial lead, which are specific to chosen electrode, direction of displacement, and for ECG segment selected for calculations.


Introduction
Electrocardiography is nowadays one of the most widely used diagnostic methods in screening tests for early detection of cardiac diseases. Examinations are noninvasive and have a large impact on clinical diagnosis and on further medical treatment. The ECG signals reflect the electrical activity of the heart muscle as it is sensed by electrodes placed on the body surface. In clinical practice, the most commonly used electrodes layout is 12-lead standard ECG system. Standard ECG has, however, limited sensitivity (30-70 %) and specificity (70-95 %) in detection of acute coronary syndromes [7]. To improve effectiveness of the ECG diagnostic, high-resolution measurement technique and body surface potential mapping (BSPM) were proposed [3,29] and validated [5,15,31]. However, due to time-consuming procedure of large number ECG electrodes placement, the method is still not widely used in clinical practice.
There are many independent factors affecting the ECG examination results related to ECG measurement procedure and physiological inter-individual variability [27].
One of the main sources of mistakes is inaccurate ECG electrode placement in suggested anatomical landmarks, e.g., in proper intercostal spaces [14]. On the other hand, since differences in inter-individual human anatomies, the exact heart position in the thorax is never precisely known. Both factors, dependent and independent on medical staff, can cause the change of the distance between the electrodes and source of the signal in the heart as well as the solid angle at which outline of ventricular mass is seen from the body surface [34]. The displacements of the precordial electrodes located nearby the signal source have a greater influence on the ECG signal than shifts of the distant limb electrodes [20,34]. Precordial electrodes need sometimes to be shifted to apply bandages, drains, and to undertake an echocardiographic study [19]. However, displacement of the ECG electrodes from determined 'standard' positions [14] can arise also from mistakes of medical staff [9,18,20,23] as well as by patients at home who participate in ECG monitoring programs. A common mistake is placing V 1 and V 2 electrodes too high, in second or third intercostal space [20], which could result in superior misplacement of remaining precordial electrodes. Electrodes V 5 and V 6 are also placed frequently in the fifth intercostal space and not in the recommended parallel position to electrode V 4 [14], which is usually not precisely positioned according to visual estimation of midclavicular line [21].
Thus, one important issue which should be taken into account is poor reproducibility of precordial lead placement in serial ECG recordings. Kerwin et al. [12] reported that correct lead positions with an error less than 1 cm were achieved by trained technicians only in case of 50 % of studied men and 20 % of studied women. They found that electrode placement error often was in the range of 2-3 cm, but occasionally reached even 6 cm.
A number of methods for controlling variation in chest electrodes' position were suggested and validated. Soliman [30] recently proposed to add simple measurement of the distance from suprasternal notch to the V 1 -V 2 position assuring the same position of electrodes between clinical trials. Herman et al. [9] invented a sliding ruler that facilitates correct lead placement and for documenting its position on the chest. Kerwin et al. [12] advise to use the grid printed on non-stretchable material to record and later on, if needed, to relocate wrong positioned electrodes. Unlikely, all methods, even the simplest, are not accepted by clinicians, meaning that ECG electrodes are often placed not precise according to subjective visual inspection.
The analysis of ECG signals recorded from misplaced electrodes can lead to misinterpretation or even to significant diagnostic errors like incorrect recognition of anterior infarction, anteroseptal infarction, ventricular hypertrophy [9,14], false diagnosis of ischemia, or Brugada syndrome [16,24]. Bond et al. have shown that incorrect electrode placement could lead to wrong diagnosis in 17-24 % of patients [1]. Precordial electrode displacement could cause wrong diagnosis made by human expert as well as by computer-based analysis [26].
The aim of this study was to investigate in detail the effect of displacement of the precordial ECG electrodes on the morphology of the recorded multilead high-resolution ECG signals, in particular, to answer the questions what kind of changes in the recorded ECG signal could be expected while moving the electrode in any direction at a short distance (up to 5 cm) and which precordial ECG leads are most sensitive to electrodes displacement.

Measurement and processing of ECG signal
This study was performed on a group of 60 men with diagnosed cardiac pathology. The patients' age ranged from 38 to 83 years. Basic statistic data of the studied group are presented in Table 1. Examinations were carried out in General Hospital of Medical University of Vienna (Austria) using a high-resolution ECG measurement system (Biosemi). The 64 active electrodes were placed on the body surface according to modified Amsterdam lead system [4,29]. The electrodes' positions on the chest surface used in this study are shown in Fig. 1a.
The multi-lead high-resolution ECG was recorded for 5 min with 4,096 Hz sampling frequency and digitized with 24-bit amplitude resolution while subject was at rest in supine position. The study protocol was approved by an institutional ethical committee in accordance with Declaration of Helsinki, and informed consent was obtained from each patient. Data were band-pass filtered with cutoff frequencies 0.05, 250 Hz. Then, linear baseline wander estimation and removal procedure were applied (U-P segment used as isoelectric line). The cross-correlation method for beats alignment was used, and then, signal averaging in time was performed. ECG characteristic points in averaged signals were first automatically detected as in [6]. Then, the result for each subject was visually examined and edited based on the view of time-aligned superimposed heartbeats (Fig. 1c).

Evaluation of ECG signals in close distance to precordial electrodes
The position of ECG signal estimation points in close distance (1-5 cm) from precordial electrodes (V 1 -V 6 ) was determined for each subject as shown in Fig. 1 for electrode V 2 . Then, ECG signals were interpolated [25] in 11 9 11 coordinates of rectangular grid centered on selected precordial lead position (Fig. 1a). Shapes of estimated signals were compared with shape of reference signal recorded in precordial lead location. The analysis was performed for depolarization (QRS complex) and repolarization (ST-T-U segment) phases of cardiac cycle (Fig. 1c).   In order to precisely evaluate changes in ECG signal morphology caused by a shift of ECG electrodes, the distribution function method (DFM) proposed by Rix and Malengé [22] was used. It was shown that DFM is independent of amplitude and timescale variation of a signal, assessing the real shape changes and provides valuable information for cardiac diagnosis [5,13].
Let s 0 (t) be a reference signal and s j (t) a signal to compare, whose supports are included in time interval [0, T]. If s 0 (t) and s j (t) are equal in shape, signal s 0 (t) can be derived from s j (t) through increasing affine functions: where k j , a j , t j , c j are, respectively, magnitude coefficient, scale coefficient, delay, and offset. Since ECG baseline drift is subtracted in preprocessing stage, c j value can be omitted and Eq. (1) is rewritten as follows: which corresponds to the following: Assuming s 0 (t) and s j (t) are positive signals, the shape difference between two ECG waves was characterized by the function u(t) defined by the relation: where S j (t) and S 0 (t) are the normalized integral functions of s j (t) and s 0 (t), respectively, rising from 0 to 1 on the signal support: The interval [0, 1] is divided by M equidistant values y i : 0 \ y i \ 1, i = 1 to M. Solving the equation by linear interpolation: If signals s 0 and s j have the same shape, then points (t i , t' i ) are on a straight line, corresponding to an affine function u. The departure from linearity was quantitated through calculation of D parameter, which is the rootmean-square error (RMSE) between the set of points (t i , t' i ) and the least-mean-square line fitted on uðt i Þ [5]: where a-regression coefficient measuring the timescale change of s j (t) compared to s 0 (t). The meaning of D parameter is that it describes the real ECG morphology changes between a pair of two signals s 0 and s j omitting the scaling effect, i.e., stretching or compressing of ECG waves either in amplitude or in time. Parameter D close to zero means that the main waveform pattern does not change. In contrast, D greater than zero indicates appearance or disappearance of ECG components (e.g., QRS complex change its shape to rSr' pattern). The coefficient a in Eq. 6 indicates if and how much reference signal s 0 is stretched (a [ 1) or shrunken (a \ 1) in time. Later on, it will refer to scaling effect of ECG signal in time.
The Pearson correlation coefficient (R) and RMSE between reference signal s 0 (t) and signals s j (t) were also calculated to compare obtained results with those available in the literature. For an ECG signal measured in particular precordial electrode position and ECG signal observed at a given distance from that location, the RMSE was defined as follows: where N-number of samples in the averaged ECG signal, s 0 (ti)-the amplitude of measured ECG signal in ith sample (reference signal), s j (ti)-the amplitude of interpolated ECG signal s j in ith sample. RMSE parameter was normalized to range of the observed data in order to minimize the effect of interindividual differences in ECG signal magnitude on mean RMSE values computed in studied group.
The relative variability index (RV) defined by Hoekema et al. [10] was calculated to quantitate inter-individual variability of measured body surface potentials. QRS and ST-T-U complexes were normalized to 800 samples. RV index for 11 9 11 ECG data points (Fig. 1a), for a given precordial lead, was defined as the averaged variances over all subjects, for each grid node, and each time instant divided by the overall power of recorded signal: where V i,l,t is the amplitude of ECG signal in grid node l, in time t, for subject i; V l;t is the mean signal over all subjects in grid node l, in time t; L is the number of nodes (L = 121) in data grid; T is the number of time instants (T = 800); K is the number of studied subjects (K = 60).
The relation is equivalent to ratio of standard deviation to root-mean-square value of all the measured ECG signals. Additional analysis was performed in order to distinguish ECG changes caused by electrode displacement from physiological variability of ECG shape in time. Five sets of precordial ECG signals (V 1 -V 6 ) averaged in time were computed separately for each subject from five consecutive 1-min recordings. ECG signals from the first set were compared with corresponding signals from other sets. The variability of ECG signal morphology in time was quantified by shape difference parameters.

Results
Distributions of computed mean parameters around precordial electrodes' positions, called 'shape difference maps (SDM)', are presented in Figs The representative maps of standard deviations from mean shape difference descriptors D are shown in Fig. 5. SD values for QRS complex were in the range from 0 to 0.15 for a, from 0 to 3.5 for D, from 0 to 250 lV for RMSE, from 0 to 10 % for NRMSE, and from 0 to 0.4 for R. The observed SDs in case of ST-T-U segment varied from 0.13 to 0.14 for a, from 0 to 1.5 for D, from 0 to 70 lV for RMSE, from 0 to 10 % for NRMSE, and from 0 to 0.5 for R. Table 2 presents the numerical values of D, RMSE, NRMSE, and R parameters quantifying the ECG shape changes due to electrode shifts at 1 and 5 cm. Notice that the largest values are marked in bold font.
Obtained results from analysis of time variability of ECG signal shape in precordial leads are summarized in Table 3. The mean values ± SD of D, RMSE, NRMSE, and R were shown. The values highlighted in bold were used as threshold to decide about significance of shape changes due to electrode displacement, and they represented the largest observed ECG signal changes in time.

Discussion
In obtained results, distinct changes of ECG morphology were observed when precordial electrodes were displaced. In Fig. 1b, the example of ECG signal recorded from lead V 2 at correct and displaced position is presented. The changes in ECG signal morphology are clearly visible while moving the electrodes from their correct positions.
Distributions of all evaluated parameters (D, RMSE,NRMSE, and R) in relation to electrode shift in a given direction were coincident. The dispersion of the signal morphology was growing with the increase in the distance from the reference point (Tables 2 and 3). That shape disparity was observed both in the mean shape difference values and its standard deviation values (shape difference maps in Figs. 3 and 4 versus corresponding SD maps presented in Fig. 5). The R parameter was less sensitive to changes of precordial electrode positions compared with other calculated parameters. The shift up to 1 cm from precordial leads in any direction has the negligible impact on the ECG morphology (Table 2). Mean values of shape difference descriptors were in the range of physiological variability of ECG signal morphology in time ( Table 2). These results are in agreement with the outcome of study presented by Szakolczai et al. [32] where the mean morphology change of a whole cardiac cycle observed in V 2 electrode shifted by 1 cm in vertical and horizontal directions was R = 0.98 ± 0.04, RMSE = 67 ± 28 lV. In our analysis, more prominent morphology changes of ECG waves were found for electrode displacements of 2 cm or higher. This supports the results of simulation study performed by Turzova et al. [33] where the mean relative error between body surface potential maps estimated in standard and vertically shifted electrodes' positions remained less than 5 % up to ±2 cm shift. Beyond the threshold value set to 2 cm differences in BSPM steeply increased [33].
In our study, mean values of RMSE ± SD calculated for ST-T-U segment were in the range from 12 ± 9 to 73 ± 53 lV for the vertical shift of electrodes by 5 cm. Finlay et al. (2010) reported similar trend of RMSE values changes in response to vertical shift (0.5-5 cm) of precordial electrodes. In their work, the median of RMSEs calculated for ST-T segment in 5 cm distance from correct precordial electrodes' positions ranged between 30 lV and 130 lV [8]. Lower values of RMSE parameter obtained in our study may result from longer segment of ECG signal used for calculations as well as influence of inter-individual differences in measured signal amplitude. A degree of morphology changes depends on ECG lead, shift magnitude, direction of displacement, and on the ECG segment selected to analysis. We found that leads V 2 and V 3 are the most sensitive to displacement (Figs. 3, 4). For example, a 5 cm left displacement of V 3 , in direction to V 2 position, causes significant changes in QRS shape and ST-T-U curves (Figs. 3, 4). This is partially in agreement with the results obtained by Bond et al. [1]. They report the V 2 as the most affected, but they indicated electrode V 3 together with V 5 and V 6 as the least sensitive to displacement. It could be due to the fact that they compared ECG morphology changes in electrodes placed in one specific nonstandard ECG leads arrangement. Besides the shift magnitude, directions of precordial lead displacement have significant impact on ECG signal morphology (Fig. 1b). Lead V 1 is more sensitive to horizontal than vertical displacement, and ECG morphology changes more prominently while shifting electrode toward V 2 position. Negligible differences in D parameter values caused by the shift of the V 1 electrode in vertical directions, with observed differences in NRMSE values (Figs. 3,  4), suggest that ECG signal is changing mainly due to change in the amplitude without significant changes in the main waveform pattern (amplitude scaling effect).
The V 2 displacement affects more the QRS complex morphology than ST-T-U segment (less prominent changes of D parameter shown in Fig. 4 in comparison with maps of D parameter presented in Fig. 3). Displacement of the electrode V 2 in direction to V 3 causes slight shrinking of QRS complex in time (decrease in the values of a Table 2 Maximal observed changes of ECG morphology at 1 and 5 cm distance from precordial electrode positions

Parameter
Cardiac phase Precordial electrode  Bold font highlights the largest (D, RMSE, NRMSE) and smallest (R) values ± SD of ECG shape difference descriptors for a given cardiac phase parameter shown in Fig. 2). There were no observed scaling effect in time for ST-T-U wave (reported by a parameter), as well as only slight changes in D parameter observed in the distance of 5 cm from V 2 in direction to V 3 electrode with more evident changes in NRMSE values.
The changes of ST-T-U segment are probably more connected to effect of signal amplitude scaling than to changes in the main waveform pattern. Displacement of V 3 and V 4 electrodes in direction to V 2 position is crucial for QRS complex morphology. Moving electrodes in this direction causes slight stretching of QRS wave as shown in Fig. 2. Shifting V 3 and V 4 electrodes along a left diagonal more significantly affects ST-T-U segment than displacement along right diagonal as observed in the SDM (Figs. 3, 4).
Changes observed in maps of NRMSE parameter for V 5 and V 6 are not confirmed by the values of D, a, RMSE, and R parameters. These suggest that differences in ECG signal in V 5 and V 6 are more connected to ECG amplitude scaling than to morphology changes.
High values of inter-individual relative variability were observed in the precordium from 0.639 (V 6 ) to 0.886 (V 3 ) for QRS complex and from 0.693 (V 2 ) to 0.989 (V 5 ) for ST-T-U wave. In anterior leads V 2 and V 3 , higher values of RV were found for QRS complex than for ST-T-U segment. In the remaining precordial leads, higher RV was observed for ST-T-U segment in comparison with QRS complex. Hoekema computed relative variability index for 25 healthy subjects and found that the RV of QRS complex in close distance (up to 3.8 cm in the vertical direction) to V 2 electrode was 0.503 [10].
The large variability of measured ECG signal depends on the anatomical differences between studied patients, e.g., different position and orientation of the heart in the chest or different torso geometry. The high inter-individual variability found in ECG signal affects the mean values of non-normalized shape difference parameters like rootmean-square error. Therefore, more appropriate ECG parameters for subjects' comparison are normalized descriptors like D, NRMSE, and R.
There is an accepted rule of ECG electrodes' positioning according to the anatomical landmarks like intercostal spaces. However, in women, precordial electrodes are often positioned under the breast what could be the reason for unsatisfactory reproducibility. It comes from concerns that the ECG amplitudes are attenuated substantially by the breast tissue. Rautaharju et al. [21] showed that breast size accounted only for \1 % of ECG amplitude variations. They recommended placing electrodes on the breast in standardized positions and propose to use special device to deal with not trivial task of electrodes' positioning, especially in women with large breast tissue. In the present study, we examined only male patients, but in light of mentioned study, our results could be also valid for assessment of electrodes displacement effect in women.
Experimental studies [10] have shown that heart in the chest may be situated in the frontal plane at a distance up to 3 cm from the position of precordial electrode V 2 on the chest. This difference in distance between surface sensor and the source inside the torso caused change in distribution and amplitudes of heart potentials measured on the body surface [17,34]. Thus, placing electrodes even in accordance with the existing standard does not ensure that for all subjects, they are located in the same relation to the heart position. The use of body surface potential mapping might be considered to avoid not precise positioning of ECG electrodes in relation to heart location. This was already pointed out in BSPM studies showing a more complete view of the electrical activity of the heart and valuable diagnostic information not visible in standard 12-lead ECG [2,11,15].
Our study demonstrated complexity of the problem of ECG morphology distortion as a consequence of precordial electrodes displacements. We focused on detailed description of the influence of precordial electrodes displacement in any direction on ECG morphology in QRS and ST-T-U segments. Whether observed changes have significant effect on clinical diagnosis still remains under question and need clinically oriented studies. It was already shown that shifts of precordial leads by 2 cm can result in altered R wave progression and shift in the precordial transition zone, respectively, in 20 and 75 % of patients [9] as well as altered QRS complex and T wave [12] leading to misinterpretation regarding anteroseptal infarction and ventricular hypertrophy [9], or false statements about appearance of myocardial ischemia or right bundle branch block [12]. The analysis of ECG signals recorded from vertically displaced V 1 and V 2 leads could also give false impression of Brugada syndrome [16]. Schijvenaars et al. [26,28] studied the relation of horizontal simultaneous displacement of V 1 -V 3 leads on the changes of computerbased diagnosis concerning MI and left ventricular hypertrophy (LVH). In their experiment, V 1 was shifted rightward up to 3 cm, V 2 was shifted leftward up to 3 cm, and V 3 was moved leftward half of this distance. Important classification changes caused by such lead displacements were observed in less than 1.5 % cases (for MI) and less than 1 % (for LVH). Our results showed that in such constructed experiment, the most affected lead in the sense of morphology changes could be only lead V 2 , where the changes of D were visible in contrast to lead V 1 and V 2 (Fig. 3). The worst effect could be expected if the leads V 1 and V 2 will be shifted in direction to each other.
The high inter-individual variability of ECG amplitude in studied patients' group suggests important influence of specific human anatomy on measured ECG signals. Therefore, non-normalized ECG parameters like RMSE should be avoided for comparison of data from different subjects. The D parameter calculated using the DFM gives additional information about the shape changes of ECG signal being more sensitive to real morphology changes. Multiparameter analysis performed gives complete view, showing time and amplitude's scaling effects of ECG signal due to electrode displacements. Obtained results may help to choose alternative locations of precordial electrodes when there is need to expose the space on the body surface for other diagnostic procedures.