1. Introduction
The Congenital Zika Virus Infection can cause severe brain abnormalities and diverse electroencephalographic abnormalities [
1]. Among these is hypsarrhythmia, an unusual activity of the electroencephalogram (EEG), found in a few types of epilepsy and known for interictal and spike-and-wave discharges in an irregular and disorganized background [
2,
3,
4,
5,
6].
Identifying hypsarrhythmia patterns is challenging, and only experienced professionals in the reading of EEG tend to identify the presence of hypsarrhythmia distinctly [
4,
7,
8]. This task tends to be even harder when the analysis is made in EEG exams of nursing infants infected by the Zika virus and with microcephaly, because, as is pointed out by Carvalho et al. (2017), these exams are consistently abnormal even in infants who have not yet developed epilepsy [
1]. Additionally, brief and subtle seizures may not be detected, or can cause diagnostic errors [
4].
Carvalho et al. (2017) found hypsarrhythmia in EEGs of newborns infected by the Zika Virus and with microcephaly [
1]. The presence of hypsarrhythmia in EEGs in the sleep of children with microcephaly was also found by Kanda et al. (2018) [
9]. It is worth mentioning that these works performed only the visual description of EEG signals due to the lack of mathematical and computational methods that can assist experts carrying out these types of tasks.
According to Roger (2015), the conventional systems of classification do not take into account all the ramifications of the impact of diagnostic errors [
10]. For this reason, we propose a mathematical index capable of assisting the identification of hypsarrhythmia in a fast and efficient way. The mathematical features of this index are grounded on the morphological similarities that exist between a spike and a Gabor function. The main hypothesis for the definition of the index is that the inner product between a Gabor function and the parts of the signal that contain spikes always presents higher values than the products between the same Gabor and the rest of the signal.
The proposed methodology tends to provide evidence for the differences between electroencephalograms with a hypsarrhythmia pattern and normal electroencephalograms with normal tracings, because according to Mytinger et al. (2018), electroencephalographic tracings with hypsarrhythmia have a greater number of spikes than the normal tracings [
11].
2. Materials and Methods
2.1. Database
The database used was composed by EEGs of 30 children with the Congenital Zika Syndrome, with a total of 203 EEGs of 5 minutes each (98 with traces of hypsarrhythmia and 105 without any abnormalities). These signals were obtained by the government institution “Casa Ninar” [
12], which offers medical assistance to children with microcephaly. The children assisted in the institution have different electroencephalographic abnormalities and, in some cases, have epileptic crises. Clinically, these crises are marked by infantile spasms linked with the presence of hypsarrhythmia. The electroencephalographic records were collected with electrodes positioned in accordance with the 10–20 system during periods of spontaneous sleep. The software Neuromap was used to collect data, and the signals were sampled at 128 HZ. An expert identified the presence or absence of hypsarrhythmia on the EEGs. Consent for the use of the collected data was obtained by means of the Ethics Committee of the Federal University of Maranhão, under the registration code CAAE 65897317.1.0000.5086.
2.2. Hypsarrhythmia Index
A large number of spikes in an electroencephalographic record can be characterized as a hypsarrhythmic record [
7]. Spikes are electrographic markers where its quantification is used in the surgical planning of patients with epilepsy. A spike is clinically defined as a transitory acute that lasts between 20 and 70 ms and that is clearly distinguishable from background activity [
13,
14,
15,
16].
The index proposed in this paper is based on an inner product between an EEG and a Gabor function, by means of the discrete wavelet transform. A Gabor function is a sinusoidal function modulated by a Gaussian function [
17,
18,
19,
20] (
1).
The parameters , and are, respectively, the average and the standard deviation of the Gaussian envelope, the frequency, and the cosine phase. By varying the parameters, it is possible to achieve an infinity of waves.
The Discrete Wavelet Transform (DWT) is the inner product between a signal
and a Wavelet
, moving
through the parameter
b [
21,
22]. The DWT is given as follows (
2):
The function
used in our experiments will be the Gabor function. The Gabor functions were chosen as the core of the DWT, since they are morphologically similar to the waves known as spikes. The DWT will be applied in windows of
w seconds of EEG and after that, the energy of the coefficients of this transformation will be analyzed. Each window assessed corresponds mathematically to a Matrix
of dimensions
, in which
m is the number of channels and
n is the number of samples (
Figure 1).
Definition 1 (Hypsarrhythmia Index)
. Given that the set of coefficients of the of the i-th matrix line x . We defined the hypsarrhythmia index as follows (3): Thus, for each window of w seconds of the EEG signal, we get an index, and consequently, for a signal of K-windows, we get a sequence.
2.3. Feature Extraction and Classification
The process of feature extraction proposed in this paper was accomplished in three stages. First, the EEG went through a signal windowing (
Figure 1). Afterward, the hypsarrhythmia index was calculated in each window, thus obtaining a
sequence of indexes. Finally, the average and the log energy entropy of the sequence were calculated. The log energy entropy is used to assess the set of indexes of a signal, and is defined as follows [
23,
24,
25]:
In which
is the
i-th signal sample of length
N. The sequence of indexes
from an EEG signal to compute the log energy entropy (
4). A summary of the feature extraction process can be seen in
Figure 2.
3. Results
In our simulations, we used 203 electroencephalogram signals of children with microcephaly. These EEGs had a length of 5 min each, and were segmented in 300 windows of 10 s. We performed experiments with windows of 3 and 20 s, and we observed that there were not any significant differences in the results. For each window, an index
was calculated in Equation (
3), composing a sequence of 300 indexes for each EEG. The average
and the log energy entropy
of each sequence were calculated, considering different parameter combinations of the Gabor functions.
Many computational experiments were made in order to identify the EEGs with hypsarrhythmic patterns. The boxplot presented in
Figure 3 had the distributions of averages
of the indexes for the EEGs groups with hypsarrhythmia and the EEGs with tracing without abnormalities. In these charts, it was observed that, on average, the indexes of the EEGs with hypsarrhythmia are bigger than the indexes with normal tracings.
From the data presented in the boxplots of
Figure 3, we performed two hypothesis tests. In the first test (Kolmogorov–Smirnov), we verified the null hypothesis that the data comes from a normal pattern distribution. In this test, the result is 1 if the test rejects the null hypothesis in a significance level of 5%. The results of this test indicated the rejection of the null hypothesis in all datasets.
After we observed the results obtained through the Kolmogorov–Smirnov test, we decided to perform the Mann–Whitney test, in order to test the null hypothesis that the data were samples of continuous distributions with equal medians, against the alternative that they were not. The logical result 1 indicates a null hypothesis rejection and 0 indicates a failure to reject the null hypothesis at a significance level of 5%.
The results obtained with the Mann-Whitney test indicated that the null hypothesis must be rejected in all the comparison situations presented in
Figure 4, with the following values of
p-value:
(3A),
(3B),
(3C) and
(3D).
The boxplot of
Figure 4 shows the distribution of the log energy entropy
of the indexes for the EEGs groups with hypsarrhythmia and the EEGs with tracings without abnormalities. A large part of EEGs with a hypsarrhythmic pattern have log energy entropies of indexes bigger than those of the EEGs without abnormalities. This fact is similar to the results obtained with the
averages.
The sequence of application of the hypothesis tests applied to the data presented in
Figure 4 was repeated in the data of the log energy entropy. The results obtained with the Kolmogorov–Smirnov test were the same as those previously obtained. The results obtained with the Mann–Whitney test denote that the null hypothesis must be rejected in all comparison situations presented in
Figure 5, with the following values of
p-value:
(4A),
(4B),
(4C),
(4D).
Figure 5 shows the dispersion of the values of the average
and the log energy entropy
of the indexes of each EEG, both for the group with hypsarrhythmia and for the group without abnormalities.
4. Discussion
In this paper, we proposed a methodology that aims to identify hypsarrhythmia patterns in EEGs. This methodology consisted of the mathematical elaboration of an index capable of highlighting significant differences between EEG signals with normal tracings and those with characteristics of hypsarrhythmia. In an initial analysis, it was possible to verify that there are important differences between the medians and the indexes’ entropies of the two groups under analysis, even when the parameters of the Gabor function are modified in
Figure 3.
The results from the box plots of the indexes’ averages (
Figure 3) and of the log energy entropy (
Figure 4) were very similar, but the combination of these two metrics (
Figure 5) resulted in a possible linear separation between the groups being analyzed.
The results presented in
Figure 3 confirm the hypotheses suggested at the beginning of this paper that the index values of the electroencephalograms with hypsarrhythmia are, in general, bigger than the ones of encephalograms without any abnormalities. It is possible to observe, by comparing the boxplots of
Figure 4A,B with the ones of
Figure 4C,D, that the changes in the Gabor function’s parameters caused important implications for the results. The hypothesis tests applied showed that the proposed index is able to highlight the statistically significant differences, which enables this methodology to be used as a form of triage in the daily routine of the neuroscientists investigating epileptic syndromes in infants.
The proposed index can be easily implemented since it is based on the combination of mathematical operations already well-established in the literature, such as, for example, the median, the energy, and the DWT. This fact makes the computational calculation of the index rather quick.
It is relevant to emphasize that the parameters of the Gabor function chosen (based on the morphological characteristics of the spikes), highlight, in a mathematical way, one of the physiological features of the children with epilepsy. This feature consists of a large number of electric discharges in the shape of very peculiar waves (spikes).
5. Conclusions
Although it is important to discuss and elaborate on computational methods capable of performing the identification of hypsarrhythmia, it is also valid to emphasize that the existence of a concentration of kids (such as the ones assisted by the Casa Ninar) with this pathology is not common, and this can justify the lack of studies under this scope. However, the correct identification of hypsarrhythmia is an important step for the treatment of infant patients with refractory epilepsy, and the use of an index capable of assisting the electroencephalography expert is an important fact.
The findings confirm the hypotheses that the Gabor functions can enhance important differences between the groups in question. These results also suggest that the methodology of hypsarrhythmia’s identification based on an index is able to distinguish signals without abnormalities from signals with hypsarrhythmic characterístics.
The proposed index can be easily implemented and used as a screening factor, since it consists of a metric capable of summarizing in a single number (or in a sequence of indexes) the characteristics that indicate the presence or absence of hypsarrhythmia. It is important to stress that the proposed method aims only to assist the experts involved.
Author Contributions
Conceptualization, G.C.S. and N.P.; Methodology, G.C.S. and P.L.; Software, G.C.S.; Validation, G.C.S., C.M.Q. and P.S.; Formal Analysis, A.K.B.; Investigation, P.S.; Resources, G.C.S.; Data Curation, C.M.Q., P.S. and A.A.M.d.S.; Writing—Original Draft Preparation, G.C.S.; Writing—Review & Editing, G.C.S.; Visualization, A.K.B.; Supervision, C.M.Q.
Funding
This research received no external funding.
Acknowledgments
The Foundation for Research and Scientific and Technological Development of Maranhão (FAPEMA).
Conflicts of Interest
The authors declare no conflict of interest.
References
- Carvalho, M.D.C.G.; de Barros Miranda-Filho, D.; van der Linden, V.; Sobral, P.F.; Ramos, R.C.F.; Rocha, M.A.W.; Cordeiro, M.T.; de Alencar, S.P.; Nunes, M.L. Sleep EEG patterns in infants with congenital Zika virus syndrome. Clin. Neurophysiol. 2017, 128, 204–214. [Google Scholar] [CrossRef] [PubMed]
- Gibbs, F.A.; Gibbs, E.L. Atlas of Electroencefalography; Addison-Wesley: Reading, MA, USA, 1952. [Google Scholar]
- Millichap, J.; Millichap, J. Hypsarhythmia or Hypsarrhythmia? Pediatr. Neurol. Briefs 2015, 29, 64. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Hussain, S.A.; Kwong, G.; Millichap, J.; Mytinger, R.J.; Ryan, N.; Matsumoto, J.; Wu, Y.J.; Lerner, J.T.; Sankar, R. Hypsarrhythmia assessment exhibits poor interrater reliability: A threat to clinical trial validity. Epilepsia 2015, 56, 77–81. [Google Scholar] [CrossRef] [PubMed]
- Altunel, A.; Sever, A.; Altunel, E.Ö. Hypsarrhythmia paroxysm index: A tool for early prediction of infantile spasms. Epilepsy Res. 2015, 111, 54–60. [Google Scholar] [CrossRef] [PubMed]
- Marchi, L.R.; Seraphim, E.A.; Corso, J.T.; Naves, P.V.; Carvalho, K.C.; Ramirez, M.D.; Ferrari-Marinho, T.; Guaranha, M.S.; Yacubian, E.M. Epileptic spasms without hypsarrhythmia in infancy and childhood: Tonic spasms as a seizure type. Epileptic Disord. 2015, 17, 188–193. [Google Scholar] [PubMed]
- Mytinger, J.R.; Hussain, S.A.; Islam, M.P.; Millichap, J.J.; Patel, A.D.; Ryan, N.R.; Twanow, J.D.E.; Heyer, G.L. Improving the inter-rater agreement of hypsarrhythmia using a simplified EEG grading scale for children with infantile spasms. Epilepsy Res. 2015, 116, 93–98. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Smith, R.J.; Sugijoto, A.; Rismanchi, N.; Hussain, S.A.; Shrey, D.W.; Lopour, B.A. Long-Range Temporal Correlations Reflect Treatment Response in the Electroencephalogram of Patients with Infantile Spasms. Brain Topogr. 2017, 30, 810–821. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Kanda, P.A.M.; de Almeida Xavier Aguiar, A.; Miranda, J.L.; Falcao, A.L.; Andrade, C.S.; dos Santos Reis, L.N.; Almeida, E.W.R.B.; Bello, Y.B.; Monfredinho, A.; Kanda, R.G. Sleep EEG of Microcephaly in Zika Outbreak. Neurodiagn. J. 2018, 58, 11–29. [Google Scholar] [CrossRef] [PubMed]
- Rodger, J.A. Discovery of medical Big Data analytics: Improving the prediction of traumatic brain injury survival rates by data mining Patient Informatics Processing Software Hybrid Hadoop Hive. Inform. Med. Unlocked 2015, 1, 17–26. [Google Scholar] [CrossRef] [Green Version]
- Mytinger, J.R.; Weber, A.; Vidaurre, J. High Amplitude Background Slow Waves in Normal Children Aged 3 to 18 Months: Implications for the Consideration of Hypsarhythmia. J. Clin. Neurophysiol. 2018, 35, 151–154. [Google Scholar] [CrossRef] [PubMed]
- Casa de Apoio Ninar. Government of the State of Maranhão. Available online: http://www.institutoacqua.org.br/casa-de-apoio-ninar (accessed on 27 February 2019).
- Traitruengsakul, S.; Seltzer, L.E.; Paciorkowski, A.R.; Ghoraani, B. Automatic localization of epileptic spikes in eegs of children with infantile spasms. In Proceedings of the 2015 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Milan, Italy, 25–29 August 2015; pp. 6194–6197. [Google Scholar]
- Traitruengsakul, S.; Seltzer, L.E.; Paciorkowski, A.R.; Ghoraani, B. Developing a novel epileptic discharge localization algorithm for electroencephalogram infantile spasms during hypsarrhythmia. Med. Biol. Eng. Comput. 2017, 55, 1659–1668. [Google Scholar] [CrossRef]
- Ives, J.; Gloor, P. Automatic noctural sleep sampling: A useful method in clinical electroencephalography. Electroencephalogr. Clin. Neurophysiol. 1977, 43, 880–884. [Google Scholar] [CrossRef]
- Caspers, H. Electroencephalography: Basic Principles, Clinical Applications and Related Fields. Ernst Niedermeyer, Fernando Lopes da Silva. Q. Rev. Biol. 1983, 58, 301–302. [Google Scholar] [CrossRef]
- Gabor, D. Theory of communication. Part 1: The analysis of information. J. Inst. Electr. Eng. Part III Radio Commun. Eng. 1946, 93, 429–441. [Google Scholar] [CrossRef]
- Marĉelja, S. Mathematical description of the responses of simple cortical cells∗. J. Opt. Soc. Am. 1980, 70, 1297–1300. [Google Scholar] [CrossRef] [PubMed]
- Yang, J. Do Gabor functions provide appropriate descriptions of visual cortical receptive fields? Comment. J. Opt. Soc. Am. A 1992, 9, 334–336. [Google Scholar] [CrossRef]
- Torreão, J.R.A. Generalized signal-tuned Gabor approach for signal representation and analysis. Int. J. Mod. Phys. C 2017, 28, 1750001. [Google Scholar] [CrossRef]
- Stéphane, M. CHAPTER 7—Wavelet Bases. In A Wavelet Tour of Signal Processing, 3rd ed.; Stéphane, M., Ed.; Academic Press: Boston, MA, USA, 2009; pp. 263–376. [Google Scholar]
- Morettin, P.A. ONDAS E ONDALETAS: Da Análise de Fourier à Análise de Ondaletas de Séries Temporais; Edups: Sao Paolo, Brazil, 2014. [Google Scholar]
- Han, J.; Dong, F.; Xu, Y.Y. Entropy feature extraction on flow pattern of gas/liquid two-phase flow based on cross-section measurement. J. Phys. 2009, 147, 012041. [Google Scholar] [CrossRef]
- Sharma, A.; Kankar, P. Feature extraction and fault severity classification in ball bearings. J. Vib. Control 2014, 22, 176–192. [Google Scholar] [CrossRef] [Green Version]
- Gupta, V.; Priya, T.; Yadav, A.K.; Pachori, R.B.; Acharya, U.R. Automated detection of focal EEG signals using features extracted from flexible analytic wavelet transform. Pattern Recognit. Lett. 2017, 94, 180–188. [Google Scholar] [CrossRef]
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).