| Literature DB >> 30225785 |
Abstract
Electrogastrography (EGG) is a non-invasive examination method for investigating the myolectrical activity of a stomach. Nowadays, abdominal surface electrogastrography is the one of methods of stomach examination that is used for diagnosing patients with chronic intractable nausea, vomiting and gastroparesis. The electrogastrographic signals are recorded by using cutaneous electrodes placed on the stomach surface. EGG DWPack system is a highly developed and easy to use software package for four channel electrogastrography recording and analysis. The part of the software for analysis is a MATLAB based software and requires the specific ASCII format of the EGG data. The analyzed EGG signals could be conditioned with the wide range of sampling frequency and various resolutions of analog to digital conversion. Additionally, if the EGG data fulfills certain conditions associated with sampling frequency, the software can be used to study the basic parameters of heart rate variability (HRV) simultaneously with the EGG parameters. The software includes different digital filters for the EGG signal extraction and tools for artifacts exclusion. The software computes the majority of EGG parameters which are commonly used in a clinical practice. The EGG analysis can be made for several adjustable analysis settings and various methods, and it can optimize the analysis methods for different preferences or requirements. The analysis result can be saved in a MAT-file, and exported to MS Excel and ASCII files. Validation of the software was performed using synthetic and real EGG signals. This paper contains, as an example of use, an analysis of four synthetic, and fourteen human 4-channel EGG data recording with water, yogurt and a solid meal stimulation. The mean values of the dominant frequency for fast, and postprandial stage were found to be 2.96±0.21 cpm (cycle per minute), and 3.05±0.33 cpm, respectively. The values established in the validation process are consistent with typical human physiological values. In addition, the results were compared to outcomes from commercial system. The results of validation have proved that EGG DWPack software produces reliable outcomes. The software is available for free of charge for Windows operating system for the all possible non commercial use.Entities:
Keywords: Analysis software; EGG; Electrogastrography; Matlab
Mesh:
Year: 2018 PMID: 30225785 PMCID: PMC6153734 DOI: 10.1007/s10916-018-1035-1
Source DB: PubMed Journal: J Med Syst ISSN: 0148-5598 Impact factor: 4.460
Fig. 1The application for recording the EGG signals and the wireless EGG amplifier (bottom right corner)
The list of EGG parameters (based on RSA) calculated by EGG DWPack software
| Range of application | ||||
|---|---|---|---|---|
| Parameters | Units | Segment | Periods | Whole |
| Dominant frequency | cpm | + | − | − |
| Mean of dominant frequency | cpm | − | + | + |
| Median of dominant frequency | cpm | − | + | + |
| Standard deviation of dominant frequency | cpm | − | + | + |
| Dominant power | dB | + | − | − |
| Mean of dominant power | dB | − | + | + |
| Median of dominant power | dB | − | + | + |
| Standard deviation of dominant power | dB | − | + | + |
| Percentage of Bradygastria | a.u. or % | − | + | + |
| Percentage of normal | a.u. or % | − | + | + |
| Percentage of Tachygastria | a.u. or % | − | + | + |
| Percentage of Arrhythmia | a.u. or % | − | + | + |
| Power instability coefficient | a.u. | − | + | + |
| Frequency instability coefficient | a.u | − | + | + |
| Maximum dominant frequency difference | cpm | − | + | + |
| Percentage of Slow wave coupling | % | − | + | + |
| Spatial dominant power difference | dB | − | + | + |
| Percentage distribution of EGG power in the Bradygastria area | % | + | + | + |
| Percentage distribution of EGG power in the normal area | % | + | + | + |
| Percentage distribution of EGG power in the Tachygastric area | % | + | + | + |
The list of EGG parameters (based on OSA) calculated by EGG DWPack software
| Range of application | ||||
|---|---|---|---|---|
| Parameters | Units | Period | Whole | Method of calculating OPSD |
| Overall DF | cpm | + | + | Periodogram, AR4*, AR1** |
| Overall MPSD | dB | + | + | Periodogram, AR4*, AR1** |
| Overall Percentage Distribution of EGG Power in the Bradygastria area | % | + | + | Periodogram, AR4*, AR1** |
| Overall Percentage Distribution of EGG Power in the Normal area | % | + | + | Periodogram, AR4*, AR1** |
| Overall Percentage Distribution of EGG Power in the Tachygastric area | % | + | + | Periodogram, AR4*, AR1** |
AR4*, The OPSD is calculated by averaging PSDs (estimated by autoregressive modeling) of 4-minute-long segments
AR1**, The OPSD is calculated by averaging PSDs (estimated by autoregressive modeling) of 1-minute-long segments
The list of HRV parameters calculated by EGG DWPack Software package
| Parameters | Unit | Description |
|---|---|---|
| RR | [ | The mean of normal RR intervals |
| Std RR | [ | Standard deviation of normal RR intervals |
| Mean HR | [1/ | The mean heart rate |
| Std HR | [1/ | Standard deviation of heart rate values |
| RMSSD | [ | The square root of the mean of the sum of the squares of differences between adjacent normal RR intervals |
| NN50 | [ | Number of successive RR interval pairs that differ more than 50 ms |
| pNN50 | [%] | NN50 divided by the total number of RR intervals |
| VLF | [ | Absolute power of VLF band (0.003–0.04 Hz) |
| LF | [ | Absolute power of LF band (0.04–0.15 Hz) |
| HF | [ | Absolute power of HF band (0.15–0.40 Hz) |
| VLF | [%]) | Relative power of VLF band (0.003–0.04 Hz) |
| LF | [%]) | Relative power of LF band (0.04–0.15 Hz) |
| HF | [%]) | Relative power of HF band (0.15–0.40 Hz) |
| LF/HF | − | Ratio between LF and HF band powers (HRV balance) |
totalpower[ms2] = V LF[ms2] + LF[ms2] + HF[ms2]
Fig. 11The view of the additional (optional) HRV and EGG results browser (for the high sampled EGG signal)
Fig. 2An example of the fragment of the EGG data file format
The details of data file’s header
| Number of Row | Description | Note | Unit | Example |
|---|---|---|---|---|
| 1 | patient’s data (names, code) | can be empty | - | Aaaaaa Bbbbb |
| 2 | type of meal | can be empty | a.u. (code) | Meal Type 4 |
| 3 | meal start time | cannot be empty but value can be equal zero | second | start: 1800 |
| 4 | meal end time | cannot be empty but value can be equal zero | second | stop: 2100 |
| 5 | Sampling frequency | cannot be empty and should be >= 4 | Hz | Fs= 250 Hz |
| 6 | Resolution of analog to digital conversion | can be empty | bit | AD= 24 bits |
| 7 | Value of 1mv of the signal | cannot be empty, value of the sample for the 1mv signal | a.u. | 1mV= 20970 |
| 8 | empty |
Fig. 3The view of user interface for browsing, preprocessing signals, and setting parameters. The upper graph shows the raw recorded signal, due to the fact that signal is sampled with fs = 250Hz the ECG (electrocardiographic) components are visible mainly. The bottom graph contains the extracted EGG components
Fig. 4The view of user interface for browsing EGG results
Fig. 5An example of recorded signals with detected artifacts (colored in red)
Fig. 6Examples of browsing the signals
Fig. 7The view of dominant frequency (DF) (upper, left axis) and power (DP) (bottom, right axis) distributions for 4-channel EGG signal
Fig. 8The example of the DF concentration for 4-channel EGG signal. Each blue line with magenta dot represents the DF value of the segment. The length of blue line corresponds to the value of DP (dominant power). The percentage of normal values (normo) are shown in upper, right corner of each subgraph
Fig. 9The spectra of periods and values of overall dominant frequencies for 4-channel EGG signal
Fig. 10The window with the segment of EGG signal and its spectrum (interface for spectra browsing)
The parameters of used synthetic signals and basic results of analysis (OSA)
| Settings (sine) | Calculations | ||||
|---|---|---|---|---|---|
| SNR | Freq. | ODF (PER) | Dif. | ODF (AR4) | Dif. |
| (dB) | (cpm) | (cpm) | (cpm) | (cpm) | (cpm) |
| 10 | 1.50 | 1.50 | 0.00 | 1.51 | 0.01 |
| 10 | 3.00 | 3.00 | 0.00 | 2.98 | −0.02 |
| 10 | 3.30 | 3.30 | 0.00 | 3.29 | −0.01 |
| 10 | 5.40 | 5.40 | 0.00 | 5.39 | −0.01 |
| 6 | 1.50 | 1.50 | 0.00 | 1.53 | 0.03 |
| 6 | 3.00 | 3.00 | 0.00 | 2.98 | −0.02 |
| 6 | 3.30 | 3.30 | 0.00 | 3.29 | −0.01 |
| 6 | 5.40 | 5.40 | 0.00 | 5.40 | 0.00 |
| 3 | 1.50 | 1.50 | 0.00 | 1.53 | 0.03 |
| 3 | 3.00 | 3.00 | 0.00 | 2.98 | −0.02 |
| 3 | 3.30 | 3.30 | 0.00 | 3.29 | −0.01 |
| 3 | 5.40 | 5.40 | 0.00 | 5.39 | −0.01 |
| 0 | 1.50 | 1.50 | 0.00 | 1.57 | 0.07 |
| 0 | 3.00 | 3.00 | 0.00 | 2.97 | −0.03 |
| 0 | 3.30 | 3.30 | 0.00 | 3.27 | −0.03 |
| 0 | 5.40 | 5.40 | 0.00 | 5.39 | −0.01 |
Comparison of basic EGG parameters produced by EGG DWPack, and medtronic system
| Parameters | EGG DWPack | Medronic system | Difference |
|---|---|---|---|
| ODF (cpm) | 3.0 | 2.89 | 0.11 |
| NI (ch. A1) (%) | 93.24±14.19 | 90.87±17.22 | 2.38 |
| NI (ch. A2) (%) | 84.32±19.06 | 79.17±19.81 | 5.16 |
| NI (ch. A3) (%) | 95.77± 5.85 | 93.09±12.51 | 2.68 |
| NI (ch. A4) (%) | 97.09± 4.00 | 94.98± 4.40 | 2.12 |
| SWC (ch. A1–A2) (%) | 74.03±19.19 | 82.51±16.04 | −8.74 |
| SWC (ch. A1–A3) (%) | 77.34±23.49 | 86.94±18.12 | −9.60 |
| SWC (ch. A1–A4) (%) | 76.67±19.81 | 89.17±15.26 | −11.50 |
| SWC (ch. A2–A3) (%) | 68.27±23.86 | 80.83±19.34 | −12.56 |
| SWC (ch. A2–A4) (%) | 69.79±20.36 | 78.05±18.51 | −8.26 |
| SWC (ch. A3–A4) (%) | 80.23±15.42 | 89.17±11.1 | −8.94 |
Comparison of basic HRV parameters produced by EGG DWPack, gHRV, and HRVAs
| Parameters | EGG DWPack | gHRV | HRVAS | Diff.1* | Diff.2** |
|---|---|---|---|---|---|
| Mean pNN50 (%) | 19.38 | 19.54 | 18.80 | 0.16 | −0.58 |
| Mean RMSSD (ms) | 42.71 | 42.74 | 43.50 | 0.03 | 0.79 |
| Mean VLF ( | 3553.20 | 2596.76 | 3843.30 | −956.44 | 290.10 |
| Mean LF ( | 2232.81 | 1335.76 | 2219.80 | −897.05 | −13.01 |
| Mean HF ( | 417.66 | 257.25 | 594.50 | −160.41 | 168.64 |
| Mean VLF (%) | 57.63 | 62.63 | 57.70 | 5.00 | 0.07 |
| Mean LF (%) | 33.88 | 30.88 | 33.30 | −4.00 | −1.58 |
| Mean HF (%)) | 7.48 | 6.96 | 8.90 | −0.52 | 1.42 |
| Mean LF/HF (a.u.) | 5.53 | 5.57 | 3.73 | 0.04 | −1.80 |
Diff.1∗ = (gHRV − EGGDWPack)
Diff.2∗∗ = (HRV AS − EGGDWPack)
RMSSD – Square root of the mean squared differences between successive RR intervals
NN50 – Number of successive RR interval pairs that differ more than 50 ms
pNN50 – NN50 divided by the total number of RR intervals
VLF(ms2)–Absolute power of VLF band (0–0.04 Hz)
LF(ms2)–Absolute power of LF band (0.04–0.15 Hz)
HF(ms2)–Absolute power of HF band (0.04–0.15 Hz)
VLF(%)–Relative power of VLF band (0.003–0.04 Hz)), V LF[%] = (V LF[ms2]/totalpower[ms2]) ∗ 100%
LF(%)–Relative power of LF band (0.04–0.15 Hz)), LF[%] = (LF[ms2]/totalpower[ms2]) ∗ 100%
HF(%)–Relative power of HF band (0.04–0.15 Hz)), HF[%] = (HF[ms2]/totalpower[ms2]) ∗ 100%
LF/HF–Ratio between LF and HF band powers (HRV balance.) Difference–The difference between gHRV’s value and DwPack’ value
Comparison of basic frequency–domain parameters produced by EGG DWPack, gHRV, and Kubios-HRV [45]
| Parameters | EGG DWPack | gHRV | Kubios-HRV |
|---|---|---|---|
| Mean VLF (%) | 67.84 | 63.40 | 66.80 |
| Mean LF (%) | 21.45 | 26.20 | 22.04 |
| Mean HF (%)) | 10.70 | 10.40 | 11.20 |
| Mean LF/HF (a.u.) | 2.00 | 2.52 | 1.97 |
VLF(%)–Relative power of VLF band
LF(%)–Relative power of LF band
HF(%)–Relative power of HF band
LF/HF–Ratio between LF and HF band powers (HRV balance)