A Quantitative Analysis of an EEG Epileptic Record Based on Multiresolution Wavelet Coefficients

The characterization of the dynamics associated with electroencephalogram (EEG) signal combining an orthogonal discrete wavelet transform analysis with quantifiers originated from information theory is reviewed. In addition, an extension of this methodology based on multiresolution quantities, called wavelet leaders, is presented. In particular, the temporal evolution of Shannon entropy and the statistical complexity evaluated with different sets of multiresolution wavelet coefficients are considered. Both methodologies are applied to the quantitative EEG time series analysis of a tonic-clonic epileptic seizure, and comparative results are presented. In particular, even when both methods describe the dynamical changes of the EEG time series, the one based on wavelet leaders presents a better time resolution.


Introduction
Human brain electrical activity can be measured from the scalp in a non-invasive way by means of electroencephalography.Due to the conductive properties of biological tissue, this activity reflects the effect of proximal and distal sources of synchronized neuronal activities [1].The electroencephalogram (EEG) is one of the oldest techniques used in clinical neurophysiology to access information about the condition of the brain.Although EEG recordings have been in clinical use for more than half a century, conventional EEG analysis relies mostly on visual inspection and pattern recognition.Even when this methodology is quite useful, the visual inspection of the EEG is subjective and hardly allows any systematization [1].In order to overcome this obstacle, quantitative EEG analysis (qEEG) introduces objective measures reflecting the characteristics of brain activity, as well as its associated dynamics.
The analysis of EEG signals always involves queries of quantification, i.e., the ability to state objective data in numerical and/or graphical form.Processing of information by the brain is reflected in dynamical changes of electrical activity in time, frequency and space.Therefore, the study of this process requires methods that can describe the variation of the signal in time and frequency.An attractive property of these quantifiers is that they are related to physical properties; so their interpretation and the implications of their results are straightforward.Thus, in order to understand the associated dynamics of the EEG time series, one can study the temporal evolution of these associated quantifiers and reach conclusions about their behavior under different pathologies and diseases.
In recent years, different research groups have reported very interesting results in the characterization of time evolution of epileptic EEG records (EEG time series provided by depth and cortical electrodes) using nonlinear dynamical invariant metrics quantifiers.In these studies, the EEG during epileptic seizure and the background EEG (pre-and post-seizure) were analyzed, following the temporal evolution of signal dimensionality (associated with the measurement of the correlation dimension, D 2 ) [2,3] and the chaoticness degree (through the largest Lyapunov exponent, Λ max ) [4][5][6][7].The main finding of these reports is a reduction of these two quantifiers during an epileptic seizure, suggesting that a transition takes place at the seizure onset in the dynamic behavior of the neural network, from a complex behavior to a simpler one [8].Furthermore, some researchers report a significant decrease of these quantifiers a few minutes before the seizure onset, raising the hypothesis that epileptic seizure could be predicted [3,5,6].However, despite the obvious physiological relevance of such findings, a basic requirement for nonlinear dynamic metric tools (chaos theory) to be applied to experimental data is the stationarity of the time series, which suggests that the time series is representative of a unique and stable attractor.Unfortunately, this is not the case with EEGs.To make the situation even worse, the evaluation of D 2 and Λ max (defined as asymptotic properties of the attractor) requires the use of long time recordings.
Another group of qEEG methods are based on time-frequency analysis.A natural approach to quantify the degree of order of a complex signal is to consider its spectral entropy, as defined from the Fourier power spectrum [9].The spectral entropy is a measure of how concentrated or wide-spread the Fourier power spectrum of a signal is.However, the Fourier transform (FT) requires stationarity of the signal, and EEGs are highly non-stationary.Furthermore, the FT does not yield the time evolution of the pertinent frequency patterns.Consequently, the spectral entropy does not get defined as a function of time.
The disadvantages of the spectral entropy defined from the FT can be partially overcome by using a short-time Fourier transform (STFT).Powell and Percival [9] have defined a time evolving entropy from the STFT by using a Hanning window.With this approach, the FT is applied to time-evolving windows of a few seconds of data refined with an appropriate function, so that the time-evolution of the frequencies can be followed.The stationarity requirement is partially satisfied by considering the signals as quasi-stationary for a few seconds.Due to the uncertainty principle [10][11][12], one critical limitation appears when windowing data: if the window is too narrow, the frequency resolution will be poor.Conversely, if the window is too wide, the time localization will be less precise.
All of the above-mentioned difficulties can be overcome by appealing to the wavelet transform [10][11][12], an efficient time-frequency decomposition method.In particular, the orthogonal discrete wavelet transform (ODWT) makes no assumptions about a record's stationarity (it does not need to reconstruct any attractor of the dynamical system), and it works only with its measurable response, that is the time series.Then, taking the ODWT of the EEG signal as a basic element, represented by the corresponding wavelet coefficients, the relative wavelet energy (RWE) can be evaluated.This provides information about the relative energy associated with the different frequency bands present in the EEG signal and their corresponding degree of importance.The RWE can be considered as the energy probability distribution, which, in turn, can be used to evaluate information theory quantifiers, such as Shannon entropy and statistical complexity measures, whose corresponding time evolution can be followed with an optimal time-frequency resolution [13][14][15].This enables one to accurately characterize the evolution of the underlying brain dynamics that generate the corresponding EEG time series under analysis [15][16][17][18][19][20][21][22][23][24][25].Moreover, this methodology based on the use of ODWT coefficients can be used to study and characterize brain electrical signals of a short duration, such as event-related potentials (ERPs) and evoked potentials (EPs) [26][27][28][29][30][31].
An alternative approach to the previous ODWT methodology has been proposed in [32].In that work, we analyzed the dynamics of time series by defining a discrete probability distribution at each sample time, based on the computation of multiresolution quantities, called wavelet leaders [33] to evaluate the Shannon entropy.This way, information theory quantifiers can be defined at each sample time.
The wavelet leaders, computed in terms of the local suprema of wavelet coefficients, were introduced by S. Jaffard in [33], who finds a formula that yields the upper box dimension of a graph of a function.These multiresolution coefficients have proven to be a useful tool in signal and image processing.S. Jaffard reformulates the wavelet characterization of the local regularity of a function in terms of the wavelet leaders and also introduces a wavelet leader-based multifractal formalism in [34], using the wavelet leaders instead of using the wavelet coefficients or the continuous wavelet transform in the formula proposed in [35].This wavelet leader-based multifractal formalism results in an effective and well-founded procedure to estimate the multifractal spectrum of different data signals and images [36][37][38] with a low computational cost.Recently, a wavelet leader oscillation formalism has also been proposed in order to analyze oscillating singularities in real signal data [39].
In this view, the pointwise wavelet leader entropy has been formulated in [32] as an alternative quantifier that refines the methodology based on ODWT coefficients.To evaluate the Shannon entropy, it uses a discrete probability distribution based on wavelet leaders at each time, instead of computing relative wavelet energy in non-overlapping temporal windows of a given size, limited by the length and the frequency content of the signal.In this work, we also evaluate the statistical complexity based on wavelet leaders, introducing the pointwise wavelet leader statistical complexity.In addition, these wavelet leader-based information quantifiers are correlated with the pointwise Hölder exponent, a temporal exponent that captures the regularity of the variation of a function, quantifying how rugous or spiky the graph of a function is.The pointwise Hölder exponent is the usual regularity exponent considered in signal and image processing, and it has been used for formulating the multifractal analysis for functions (for details, see [34] and the references therein).
The aim of the present work is to study an EEG signal corresponding to a tonic-clonic epileptic seizure avoiding noise-related limitations and using quantitative analysis based on multiresolution wavelet coefficients.In particular: • We review the methodology based on orthogonal wavelet transform (ODWT) proposed by us in [13][14][15].
• We develop a novel extension of this methodology, using the wavelet leaders for the corresponding information theory quantifier evaluation.
• We exemplify both treatments with the analysis of a scalp epileptic EEG signal and compare the results of both methodologies for a scalp EEG recorded in the right central location (Channel C4), obtained from one patient.
We would like to emphasize the novelty of the use of wavelet leaders and the corresponding information theory-based quantifiers in the quantitative EEG analysis of epileptic records.In particular, even when results are shown for only one patient and one seizure, the new methodology based on wavelet leaders was applied to the complete dataset (patients and seizures) analyzed by us in a previous work [14].Similar results to those described in the present work were found, confirming the applicability of this new methodology in the EEG analysis.
This article is organized in the following way.In Section 2, the wavelet methodology and information theory quantifiers are presented.This section includes both treatments, those based on orthogonal discrete wavelet transform and the one based on wavelet leaders, as well as the evaluation of the corresponding quantifiers.In Section 3, the clinical data and the experimental setup are given, the analysis of the epileptic EEG record (time series) with the two approaches are presented and results are discussed.Finally, in Section 4, a summary is given.

Wavelet Transform
The wavelet representation provides precise measurements regarding (a) when and to what degree transient events take place in a signal and (b) when and how the frequency contents of the signal change over time [10][11][12].The wavelet is a simple and quickly vanishing oscillating function.Unlike the sine and cosine of Fourier analysis, which are precisely localized in frequency, but extend infinitely in time, wavelets are relatively localized in both time and frequency.Furthermore, wavelets are band-limited; they are composed of not one, but a relatively limited range of several frequencies.
A wavelet family {ψ a,b } is the set of elemental functions generated by (i) scaling and (ii) translation of an admissible mother wavelet ψ(x) [11]: where a, b ∈ R, a > 0 are the dilation (scale) and translation factors, respectively.Usually the variable x is associated with time.
The continuous wavelet transform (CWT) of a signal f (x) ∈ L 2 (R)-the space of real square summable functions-is defined as the correlation between the function (signal) f (x) with the family wavelet ψ a,b (x) for each a and b: [10][11][12]: where * means complex conjugation.This equation can be inverted in order to achieve a perfect reconstruction of the original signal.It measures the variation of f (x) in a neighborhood of b proportional to a, and f, ψ a,b represent the wavelet coefficients.In principle, the CWT produces an infinite number of coefficients.The information displayed at closely-spaced scales or at closely-spaced time points is highly correlated.As a consequence, the CWT provides a redundant representation of the signal under analysis.It is also time consuming to compute directly.

Discrete Wavelet Transform and Quantifiers
The discrete wavelet transform (DWT) is defined by giving a non-redundant, highly efficient wavelet representation that can be implemented with a simple recursive filter scheme, and the original signal reconstruction can be obtained by an inverse filtering operation.For (i) a special election of the mother wavelet function ψ a,b and (ii) the discrete set of parameters, a j = 2 −j and b j,k = 2 −j k with j, k ∈ Z (the set of integers), the family F = ψ j,k (x) = 2 j/2 ψ(2 j x − k) constitutes an orthonormal basis of L 2 (R), the space of finite-energy signals.Each scale a j = 2 −j is related to a given frequency band, and j is known as the resolution level.
Then, the signal f (x) ∈ L 2 (R) can be recovered by: in the L 2 (R) sense, where the inner-product coefficients, are the wavelet coefficients.
The DWT produces only as many coefficients as there are samples within the signal under analysis f (x), without the loss of any information at all.These wavelet coefficients provide full information in a simple way and a direct estimation of local energies at the different relevant scales.Moreover, the information can be organized in a multiresolution manner, yielding a hierarchical scheme of nested subspaces in L 2 (R).This scheme brought to light a link with filter banks and a fast wavelet transform algorithm decomposing signals of N samples with O(N) operations.We refer the reader to [11,12,40,41] for detailed expositions of these topics.Among several alternatives, we use a B-cubic spline function as a mother wavelet.It combines smoothness with numerical advantages in a suitable proportion (for a complete discussion, see Unser [42] and Thévenaz et al. [43]).
The signal is assumed to be given by the N sampled values {f (n) : n = 1, • • • , N} corresponding to a uniform time grid with sampling time ∆t.If the decomposition is carried out over all resolution levels j = 1 to j max ≤ log 2 (N), according to Equation (3), the wavelet expansion of the signal is, where wavelet coefficients C j,k can be interpreted as the local residual errors between successive signal approximations at scales j − 1 and j, respectively, and contain the information of the signal f (x) corresponding to the frequency interval 2 j−jmax−2 ω s ≤ |ω| ≤ 2 j−jmax−1 ω s , where ω s is the sample frequency.Since the family F = {ψ j,k (x)} is an orthonormal basis for L 2 (R), the concept of energy is linked with the usual notions derived from the Fourier theory.The energy at resolution level j = 1, • • • , j max will be given by: The total energy, denoted by E tot = f 2 of the signal is: Finally, we define the normalized ρ j -values, which represent the relative wavelet energy (RWE): for the resolution levels j = 1, • • • , j max .The ρ j yield, at different scales, the probability distribution for the energy.Clearly, jmax j=1 ρ j = 1.The distribution P (w) = {ρ j : j = 1, • • • , j max } can be considered as a time-scale probability density that constitutes a suitable tool for detecting and characterizing specific phenomena in both the time and the frequency planes [13][14][15].
An information theory quantifier can be defined as a measure that is able to characterize some property of the probability distribution function (pdf) associated with an observable or measurable quantity.Entropy, regarded as a measure of uncertainty, is the most paradigmatic example [44,45].Indeed, Kolmogorov and Sinai converted Shannon's information theory into a powerful tool for the study of dynamical systems [46,47].
The Shannon entropy [44] gives a useful criterion to analyze and compare probability distributions.It provides a measure of the information contained in any distribution.We define the Shannon wavelet entropy (SWS) [13][14][15] as: where P (w) denotes the probability energy wavelet distribution given by Equation (8).Thus, the Shannon wavelet entropy appears as a measure of the degree of order/disorder of the signal, giving useful information about the underlying dynamical process associated with the signal [13][14][15].Indeed, a very ordered process can be represented by a periodic mono-frequency signal (that is, a signal with a narrow band spectrum).A wavelet representation of such a signal will be resolved at one unique wavelet resolution level, i.e., all of the relative wavelet energy will be (almost) zero, except at the wavelet resolution level, which includes the representative signal frequency.For this special level, the relative wavelet energy will (in our chosen energy units) almost equal unity.As a consequence, the Shannon wavelet entropy will acquire a very small, vanishing value.A signal generated by a totally random process can be taken as representative of a very disordered behavior.This kind of signal will have a wavelet representation with significant contributions coming from all frequency bands.Moreover, one could expect that all contributions will be of the same order.Consequently, the relative wavelet energy will be almost equal at all resolution levels, and the Shannon wavelet entropy will acquire its maximum possible value.That is, in this case, the probability distribution will be represented by a uniform relative wavelet distribution given by P e ] = S max = log 2 (j max ).We define the normalized Shannon wavelet entropy (normalized SWS) given by: It is well known, however, that the degree of structure present in a process is not quantified by randomness measures, and consequently, measures of statistical or structural complexity are necessary for a better understanding of chaotic time series [48].There is no universally-accepted definition of complexity.Intuitively, complexity should be related to the amount of structure or the number of patterns present in a system.One would like to have some functional C[P] adequately capturing the "structuredness" in the same way as Shannon's entropy [44] captures randomness.
The perfect crystal and the isolated ideal gas are two typical examples of systems with minimum and maximum entropy, respectively.However, they are also examples of simple models and, therefore, of systems with zero complexity, as the structure of the perfect crystal is completely described by minimal information (i.e., distances and symmetries that define the elementary cell) and the probability distribution for the accessible states is centered around a prevailing state of perfect symmetry.On the other hand, all of the accessible states of the ideal gas occur with the same probability and can be described by a "simple" uniform distribution.According to López-Ruiz et al. [49] and using an oxymoron, an object, a procedure or system is said to be complex when it does not exhibit patterns regarded as simple.It follows that a suitable complexity measure should vanish both for completely ordered and completely random systems and cannot only rely on the concept of information (which is maximal and minimal for the above-mentioned systems).
A suitable measure of complexity cannot be made in terms of just "disorder" or "information".It might seem reasonable to propose a measure of "statistical complexity" by adopting some kind of distance to a reference probability distribution, in particular to the uniform distribution P e [49][50][51].This motivates the introduction of the so-called "disequilibrium-distance" Q[P, P e ] as a special distance form.In this respect, Rosso and co-workers [51] introduced an effective statistical complexity measure that is able to detect essential details of the dynamics.Then, the wavelet statistical complexity (WSC) measure is defined following the functional product proposed by López-Ruiz et al. [49] (the pdfs involved are given by the probability energy wavelet distribution): where H ∈ [0, 1] is the normalized Shannon entropy given by Equation ( 10) and the disequilibrium Q is defined in terms of the extensive (in the thermodynamical sense) Jensen-Shannon divergence.Namely, and Q 0 is a normalization constant equal to the inverse of the maximum possible value of J [P (w) , P e ], so that Q ∈ [0, 1].Q 0 is obtained when one of the components of P (w) , say p n , is equal to one and the remaining p i are equal to zero.
The Jensen-Shannon divergence quantifies the difference between two (or more) probability distributions and is well-suited to compare the symbol composition between different sequences [52].The statistical complexity measure value of a system is null and void in the opposite extreme situations of perfect knowledge (perfect crystal) and maximal randomness (ideal gas), whereas a wide range of possible degrees of physical structure does exist between these extreme configurations.
The statistical complexity in Equation ( 11) is not a trivial function of the entropy, because it measures the interplay between the information stored by the system and the distance from equipartition (the measure of a probabilistic hierarchy between the observed parts) of the probability distribution of its accessible states [49].Furthermore, a range of possible statistical complexity measure values does exist for a given H value [53], that is C (min) ≤ C ≤ C (max) , meaning that additional information related to the dependence structure between the components of the system and the emergence of nontrivial collective behavior is provided by evaluating the statistical complexity.Moreover, it should be noted that statistical complexity fulfills two additional properties required for a suitable definition of complexity in physics [54]: (a) the quantifier must be measurable in different physical systems; and (b) it should enable physical interpretation and comparison between two measurements.Indeed, the definition of complexity in Equation ( 11) also depends on the scale.For a given system at each scale of observation, a new set of accessible states appears with its corresponding probability distribution, so that complexity changes, and therefore, different values for H and C are obtained.
In order to follow the temporal evolution of the previously-defined information theory quantifiers based on the wavelet transform (relative wavelet energy, normalized wavelet Shannon entropy and wavelet statistical complexity), the analyzed signal is divided into non-overlapping temporal windows, and for each interval, the quantifiers are evaluated.The obtained value is assigned to the central point of the time window.In the case of dyadic wavelet decomposition, at resolution level j, the number of wavelet coefficients is two-times smaller than in the previous, j − 1 one.The minimum length of the temporal window will therefore include at least one wavelet coefficient in each scale.

Wavelet Leaders and Quantifiers
In this section, we extend the ODWT methodology by evaluating information quantifiers at wavelet leader-based probability distributions, defined at each signal datum.We have introduced a pointwise wavelet leader Shannon entropy in [32].In this work we define a pointwise wavelet leader statistical complexity, thereby obtaining pointwise information quantifiers that are capable of capturing irregular structures from signals.
Singularities and irregular structures often carry essential information in a signal or image.For example, in image processing, the contour of objects relates to the discontinuities and singularities in the image.In order to characterize these localized singular structures, it is necessary to quantify the local regularity of the signal.An alternative is to study the pointwise Hölder exponent, which quantifies how rugous or spiky the graph of the function is.A low pointwise Hölder exponent value indicates an irregular point, while the smooth portions of a function have higher exponents.
The pointwise Hölder exponent is defined at each x 0 ∈ R, the real number set, in the domain of a locally-bound function f , as: recalling that a function f is in the class C α (x 0 ) if there exists C > 0 and a polynomial P x 0 (x) of degree less than α, such that, near the point x 0 , In the case α = 0 , we adopt, for convention, that the null polynomial has degree −∞ and |f (x)| ≤ C. We illustrate this notion with the following simple examples.The functions f (x) = |x| α and This fact shows that the pointwise Hölder exponent captures a singularity in a regular environment.Note that the pointwise Hölder exponent is the usual and most preferable regularity exponent used in signal and image processing [55].However, other exponents and parameters can be used to extend the local regularity analysis for non-locally bound functions [56,57].
The wavelet transform is an appropriate tool for studying the local regularity.Additional properties are required for the wavelet mother ψ.More precisely, we suppose that the admissible mother wavelet ψ is C r , r ∈ N, with derivatives that have a fast decay, and ψ has r vanishing moments, that is, If the mother wavelet has r vanishing moments, the wavelet transform can be interpreted as a multiscale differential operator of order r.This yields a first relation between the differentiability of f and its wavelet transform decay at fine scales [11].
Recalling Equation (3), for f , a signal in the space of signals having a finite energy L 2 (R), where There is a direct correlation between the coefficients c j,k and the pointwise Hölder regularity.If f is in the class C α (x 0 ), it is proven in [58] that the wavelet coefficients of f satisfy, for all j ≥ 0, for some constant C. S. Jaffard [34] reformulates this property in its simplest formula, characterizing the local regularity in terms of the local suprema of wavelet coefficients: the wavelet leaders.If the mother wavelet ψ is essentially localized on the interval [0, 1], then ψ j,k is localized on the dyadic interval I j,k = k 2 j , k+1 2 j , which means that the wavelet coefficient of f in I j,k has information related to this interval.
Then, wavelet leaders of a bounded function f are defined as, where is the dilated interval.If x 0 is in the domain of f , I j (x 0 ) denotes the unique dyadic interval I j,k containing x 0 for the level j.Then, the wavelet leader for x 0 in the level j is defined as: Figure 1 illustrates this definition.These multiresolution coefficients have been presented in [33], and their hierarchical order yields translation invariant wavelet leader information at each scale j, analogous to the CWT.Therefore, leader coefficients are capable of revealing patterns in each scale or successive scales, regardless of their temporal position.Furthermore, the wavelet leader information is located in decreasing radius cones as it moves in the scales j, reformulating the wavelet characterization of the local regularity and establishing the following properties (proven in [34]).
Let f be a bounded function in C α (x 0 ), with α > 0.Then, for all j > 0, for some constant C. Furthermore, if f is uniformly Hölder, i.e., there exists C > 0 and 0 then the pointwise Hölder exponent of f , defined by Equation ( 13), can be computed using: This property is independent of the wavelet mother election, as long as ψ has the required conditions, ψ has r vanishing moments and ψ ∈ C r has fast decay derivatives ψ (n) , 0 ≤ n ≤ r, with r > α.
By combining Equation ( 19) and the definition of information theory quantifiers from the previous section, we have defined [32] a pointwise wavelet leader Shannon entropy (WLSS) by using a discrete probability distribution P (wl) x 0 at each x 0 in the domain of a bounded function f .That is a pdf based on the wavelet leaders.Recalling that d j (x 0 ) is the wavelet leader coefficient for x 0 in the level j defined by Equation (19), this pdf is defined, at each x 0 in the domain of f , as: such that: if d j (x 0 ) = 0 and ̺ i = 0, otherwise.Using Equation ( 9), the pointwise wavelet leader Shannon entropy at x 0 ∈ Dom(f ) is: If ̺ j = 0, it is defined ̺ j log 2 (̺ j ) = 0.In analogous form, by use of Equation (11), we can also introduce the wavelet leader statistical complexity (WLSC) at each x 0 in the domain of a bounded function f as, From Equation (22), the following inverse relation between the wavelet leader entropy and the pointwise Hölder exponent has been proven in [32]: ) and f is uniformly Hölder, then, for each a > 1, there exists a resolution level m, such that: Then, it is established that S f (x 0 ) takes values close to its maximum log 2 (m) when h f (x 0 ) takes values close to zero.Otherwise, recalling that Q[P (wl) x 0 ,e , P (wl) x 0 ,e ] = 0 and S[P (wl) x 0 ,e ] = log 2 (m), then C f (x 0 ) takes values close to zero when S f (x 0 ) takes values close to its maximum log 2 (m).Consequently, the irregular structures of the signal are related on the highest values of S f (x 0 ) and the lowest values of C f (x 0 ).
We propose the following steps for estimating these pointwise quantifiers from data: 1. Via the Mallat algorithm [40], compute c j,k for the resolution levels j = 1, • • • , j max (see Equation ( 16)).Considering the data series {f (n) : n = 1, • • • , N} at the finest level, then From the definition given by Equation (19), estimate the wavelet leaders (d j (n)) j=1,••• ,jmax using the following equation: 3. Calculate S f (n) and C f (n) for the resolution level j max , using Equations ( 24)-( 26), entering the Jensen-Shannon divergence (Equation ( 12)) in the Q definition.

Clinical Data and the Experimental Setup
A scalp EEG signal is essentially a nonstationary time series that presents artifacts due to the electrooculogram (EOG), electromyogram (EMG) and electrocardiogram (ECG), among others [1,[59][60][61].Sometimes, artifacts present during a few seconds and can be obviated, because they obscure only a small portion of the EEG.In other cases, almost the total signal appears obscured by them, and very little information about the underlying brain activity can be extracted.
Epileptic seizures are symptoms of brain dysfunction produced by a synchronous or paroxysmal discharge of a group of neurons located in the cerebral cortex.Those classified as "secondary generalized epileptic seizures" usually begin with abnormal neuronal discharges, focused, capable of spreading to the rest of the brain cells and lead to a tonic-clonic epileptic seizure.They last about 1 to 2 min and begin with the loss of individual conscience.
A tonic-clonic epileptic seizure (TCES) is characterized by violent muscle contractions.Initial massive tonic spasms are replaced seconds later by the clonic phase with violent flexor movements and characteristic rhythmic spasms towards the end of the seizure [1].In these seizures, artifacts related to muscle contractions, are especially troublesome, because they reach very high amplitudes.In fact, not only do they limit the traditional visual analysis to the pre-and post-seizure periods, they also restrict the application of some mathematical methods.
Analysis of the brain activity during this kind of seizure has been previously performed only in special circumstances, such as in patients treated with curare (an inhibitor of muscle responses) [62,63] or by eliminating the high-frequency muscle activity with the use of traditional filters [64].Gastaut and Broughton [62,63] described a frequency pattern during a tonic-clonic epileptic seizure from patients with muscle relaxation from curarization and artificial respiration.
After a short period (which may be as short as 1-3 s) characterized by phase desynchronization, they found an epileptic recruiting rhythm (ERR) at about 10 Hz with a rapidly increasing amplitude dominating the EEG.Later, as the seizure ends, there is a progressive increase of the lower frequencies associated with the clonic phase.About 10 s after the seizure onset, lower delta frequencies (0.5-3.5 Hz) are observed to gradually diminish in their activity.The clonic activity corresponds with generalized polyspike bursts at each myoclonic jerk.Very slow irregular delta activity dominates the EEG then, accompanied with a gradual frequency increase of the theta (3.5-7.5 Hz) and alpha bands (7.5-12.5 Hz), indicative of the end of the seizure.
In Figure 2, we present a scalp EEG record, corresponding to a tonic-clonic epileptic seizure recorded in the right central location (C4 channel).We chose this electrode, in agreement with the team of physicians, after visual inspection of the pertinent EEG records, as it was the one with the minimum amount of artifacts.This record was obtained from a 39-year-old female patient with a diagnosis of pharmacoresistant epilepsy (temporal lobe epilepsy).The localized source of seizure is left temporal, and the patient presents no other accompanying disorders [13,14].Informed consent from the patient was obtained beforehand.Antiepileptic drugs were gradually reduced in order to precipitate seizures.The time intervals of the pre-seizure stage, which present artifacts (ocular and other movements, etc.) were marked by the team of physicians and were excluded in the subsequent analysis.
Scalp and sphenoidal electrodes with a bimastoideal reference were applied following the 10/20 international system, and a seizure button manually activated by the patient was also available.The signal was digitized at 409.6 Hz through a 12 bit A/D converter and filtered with an anti-aliasing eight-pole low-pass Bessel filter, with a cutoff frequency of 50 Hz.Afterwards, the signal was digitally filtered with a 1-50 Hz bandwidth Butterworth filter and stored, after decimation, at ω s = 102.4Hz, in a PC hard drive.Recordings were performed under video control in order to have an accurate determination of the different stages of the seizure.The different stages of EEG signals were determined by the team of physicians.Off-line analysis was performed with characterization of semiological features.When possible, the onset and definition of the anatomical focus for each event were timed.The analysis for each event included 60 s of EEG before the seizure onset and 120 s of seizure and post-seizure phases.
In this record (Figure 2), the pre-seizure is characterized by a signal of 50 µV.The epileptic seizure starts at TI = 80 s, with a "discharge" of slow waves superposed by fast ones with a lower amplitude.This discharge lasts ∼8 s and has a mean amplitude of 100 µV.Afterward, the seizure spreads, making the analysis of the EEG more complicated due to muscle artifacts.However, it is possible to establish the beginning of the clonic phase at around T2 = 125 s and the end of the seizure at TF = 155 s, where there is an abrupt decay of the signal amplitude.The start and ending epileptic recruiting rhythm are expected at T1 ∼ 75 s and T3 ∼ 110 s, according to Gastaut and Broughton [62,63].
EEG spectral analysis is traditionally performed by studying different frequency bands with well-defined boundaries.Some small variations can be found, according to the particular experiment under consideration.The absolute and relative intensities of these bands are usually analyzed and correlated with different pathologies.In this work, we define fourteen frequency bands for an appropriate ODWT analysis within the multiresolution scheme to be used.We have denoted these band resolution levels as B j (j = 1, • • • , 14).Their frequency limits, wavelet levels, as well as their correspondence with traditional EEG frequency bands are given in Table 1.As mentioned above, in the present work, we use an orthogonal cubic B-spline function as a mother wavelet.We eliminate the high frequency muscle activity by using wavelet analysis.We define j max = log 2 N ∼ = 14 (N = 18, 432 being the total number of data in our time series) frequency bands for an appropriate wavelet analysis within the multiresolution scheme to be used.Their frequency limits are given by 2 j−jmax−2 ω s ≤ |ω| ≤ 2 j−jmax−1 ω s , where ω s = 102.4Hz is the sample frequency.Their correspondence with traditional EEG frequency bands is given in Table 1.We limit the evaluation of different wavelet quantifiers defined above (see Sections 2.2 and 2.3) to the middle and low frequencies (frequency bands B 9 to B 12 , 0.8-12.8Hz).We did not consider the contributions from bands B 13 (25.6-12.8Hz) and B 14 (51.2-25.6Hz) with wavelet resolution levels j = 13 and j = 14, respectively, both containing high frequency artifacts related to muscle activity that blurred the EEG [64].Although high frequency brain activity is also eliminated, their contributions during the seizure stage are not as important as those of the middle and low frequencies, as has been previously shown in [18].In fact, the inclusion of these high frequency bands, which present a very disordered activity, makes the mathematical distinction between pre-seizure and during the seizure EEG (mean values and standard deviation over time intervals) more difficult.In particular, it is not possible to define and quantify the epileptic recruitment rhythm correctly.

Table 1. Frequency boundaries (in
In Figure 3, we display the EEG signal without the contribution of the frequency bands B 13 and B 14 and the EEG signal reconstructed using wavelet resolution levels j = 9 to j = 12.In order to study the temporal evolution of the information theory quantifiers based on ODWT coefficients, the analyzed signal is divided into non-overlapping temporal windows of length L = 2.5 s each (N = 256 data), and for each interval, the quantifiers are evaluated.

Analysis Based on a Set of ODWT Coefficients
Figure 4 displays the relative wavelet energies (RWE) without electromyographic contributions (B 9 to B 12 ) for the EEG tonic-clonic epileptic record shown in Figure 2.
We see that the pre-seizure phase is characterized by a signal dominance of low rhythms (pre-seizure:  4 also shows that the start of the clonic phase is correlated with a rise of B 11 , and after 140 s, when clonic discharges begin to separate further, B 10 rises up again until the end of the seizure, when B 9 also increases very quickly and both frequencies bands are dominant.The RWE contribution of frequency bands B 9 and B 10 (ρ 9 and ρ 10 ) maintains this behavior throughout the post-seizure phase.We could conclude from this example that the seizure was dominated by the middle frequency bands B 11 and B 12 (alpha and theta rhythms, 3.2-12.8Hz), with a corresponding abrupt activity decrease in the low frequency bands B 9 and B 10 (delta rhythm, 0.8-3.2Hz).Clearly, this behavior can be associated with the putative "epileptic recruiting rhythm" (ERR) described by Gastaut and Broughton [63] and represented by the time interval between vertical lines T1 and T3 in Figure 4.The normalized Shannon wavelet entropy (normalized SWS) as a function of time is presented in Figure 5.In Figure 5, one line represents the time evolution of the normalized SWS (frequency bands B 9 to B 14 are included), while the other line corresponds to results that ignore the contributions coming from high frequency bands (B 13 and B 14 ), which mainly contain electromyographic activity.
It is interesting to observe the behavior of the normalized SWS during the first 10 s following the seizure onset.We see that in this time interval, the normalized SWS exhibits increasing values if the contribution of wavelet frequency bands B 9 to B 14 are included.A comparison is to be made with normalized SWS values in the pre-seizure stage.If the wavelet frequency bands B 13 and B 14 (bands that mainly reflect muscular activity) are not included, the mean normalized SWS value is lower than that for the pre-seizure one.Thus, the behavior of the normalized SWS after the onset of the seizure is compatible with an increase in the degree of disorder of the system, induced by a high frequency activity.Superimposed low and medium frequency activities, however, are responsible for the "remaining-signal's more orderly behavior".The decreasing values of the normalized SWS after T1 = 90 s (in both cases, with and without inclusion of high frequency bands) are indicative that the system presents a tendency to a more ordered behavior.This tendency is better appreciated without muscle activity.The normalized SWS behavior is clearly correlated with the ERR described by Gastaut and Broughton [63] and represented by the time interval between vertical lines T1 and T3 in the figure.Moreover, note that the normalized SWS in the last case adopts a minimum value around T2 = 125 s, coincident with the beginning of the clonic phase.The peak observed in the normalized SWS at T3 ∼ = 145 s could be associated with the disappearance of the ERR, again in agreement with Gastaut and Broughton's description.After this point, the normalized SWS displays increasing values until TF = 155 s, which is defined as the seizure's ending time.Quantitatively, the normalized SWS for the post-seizure stage presents almost constant values, comparable to those obtained for the pre-seizure stage.Note that the absolute minimum value of the normalized entropy is to be found in the vicinity of ∼125 s, in agreement with the medical diagnosis: in that neighborhood, one encounters the tonic-clonic "phase transition".For normalized SWS, two relative maxima are observed at ∼145 s and ∼155 s.
As stated above, these times are associated with (i) the end of the epileptic recruiting rhythm and (ii) the end of the epileptic seizure, respectively.Changes in the EEG series around 125 s (the transition from the tonic to clonic stage) are the result of a mechanism entirely different from the one that produces variations at 145 s and 155 s (neuronal "fatigue", i.e., both a diminishing of the neuronal firing rate and a preponderance of inhibitory mechanisms become critical factors underlying the seizure's end).
With reference to the normalized SWS as a measure of the degree of order/disorder, we are in a position to assert that the normalized SWS presents lower values in the seizure than in the pre-seizure phase.Summing up, one can associate a more robust degree of order to the EEG activity during the seizure phase than during the pre-and post-seizure stages, compatible with a dynamic process of synchronization in the brain activity.This behavior may be thought as induced by a hypothetical epileptic focus, which generates the ERR observed.
In Figure 6, the time evolution corresponding to wavelet statistical complexity (WSC) is depicted for the EEG record of Figure 2.These lines represent the values obtained when frequency bands B 13 and B 14 are included or left out in their evaluation.The WSC exhibits almost constant mean values (they resemble each other) in pre-seizure and seizure stages when the analysis includes the frequency bands B 13 and B 14 .Excluding these two bands yields quite different behavior, especially in the time interval identified with the ERR.There, the complexity values are significantly bigger than in the pre-and post-seizure period.
What is significant here is that the time interval from 90 s to 145 s, associated with the ERR, reveals a great degree of order (low entropy) together with maximum statistical complexity.Order and complexity are seen to coexist.In addition, the wavelet statistical complexity C falls in the vicinity of 125 s, corresponding to the tonic-clonic transition.This C "dip" is associated with a marked normalized SWS diminution, opposite of what happens around either 140 s (disappearance of the ERR) or 155 s (seizure end time), where the normalized SWS values grow.It seems that a different dynamical regime is obtained at 125 s vis-á-vis the one at 140 s or 155 s.
We conclude that muscular activity destroys the underlying neuronal complexity.This is to be expected, of course, but it constitutes an indication regarding how reliable our wavelet statistical complexity measure really is.
[14] presents a more quantitative analysis of the observed behavior of the relative wavelet energy and its relation with the description of ERR, as well as the behavior of normalized Shannon wavelet entropy (SWS) and wavelet statistical complexity (SWC) during tonic-clonic epileptic seizure.In particular, in this reference, 20 tonic-clonic epileptic seizures corresponding to eight patients were analyzed, confirming the behavior of the information theory quantifiers described previously.

Analysis Based on a Set of Wavelet Leader Coefficients
The EEG signal displayed in Figure 2 has been obtained from the original EEG signal record at the C4 electrode, having 18, 432 data.The wavelet decomposition can be carried out over all resolution levels j = 1 to j max = 14 ≤ log 2 (18,432).For the first approach, we do not consider the contributions from the levels j = 13 and j = 14 associated with high frequency muscle activity at computing the probability distribution P x 0 in Formula (23).Although the traditional EEG analysis and information quantifiers based on ODWT coefficients are related to the resolution levels j = 9 to j = 12 given in Table 1, we examine the resolution levels j = 1 to 12 to estimate the wavelet leaders in Equation ( 28), since considering few resolution levels does not reveal the local regularity of the signal.The time evolution for the pointwise wavelet Leader Shannon entropy (WLSS) and the pointwise wavelet leader statistical complexity (WLSC) corresponding to the filtered EEG signal, displayed in Figure 3, are shown in Figures 7 and 8.
Furthermore, the time evolution of the pointwise Hölder exponent is displayed in Figure 9, computed from Equation (22).We have supposed that: and used a linear regression to estimate the pointwise Hölder exponent h f (n).There are several techniques to estimate the pointwise Hölder exponent, and this one is an efficient alternative; see [65] and [55] for further information on this topic.As shown in Equation ( 27), the WLSS function reaches its relative maximum values when the pointwise Hölder exponents approach zero, which indicate the highly irregular points.The WLSS reaches its absolute maximum when all values of the wavelet leader throughout all of the levels j are equal, for a point x 0 .However, in the case of a natural series, it is practically impossible, so that the maximum corresponds to the position of highest irregularity.In the same sense, this choice in the construction of the pdf also determines that the WLSC reaches minimum values at the points of greatest irregularity.Then, the range variation of the wavelet leader-based quantifiers, the wavelet leader entropy (WLSS) and wavelet leader complexity (WLSC) are the inverse of those quantifiers based on ODWT, that is the wavelet Shannon entropy (SWS) and wavelet statistical complexity (WSC), respectively.
Values of the WLSS near the maximum log 2 (12) indicate an irregularity in the signal; otherwise, the lowest values of the WLSC also indicate this fact.It is possible to observe an increase of the WLSS during the TCES, and conversely, the values of the pointwise Hölder exponent and the WLSC fall during the TCES.The maximum values of the WLSS are between T2 and T3, while the pointwise Hölder exponent and WLSC take the minimum values.The inverse relation between the WLSS and the Hölder exponents can also be observed, coinciding with the result proven in [32].
Comparing Figures 7-9, it can be noted that WLSS and WLSC distinguish the event analyzed more precisely than the pointwise Hölder exponent, which also takes values concentrated in the interval [0.20, 0.50] at the first 60 s, before the beginning of the epileptic seizure, as well as taking these values during the epileptic seizure.As in Section 3.2, we have marked with dashed lines the times corresponding to the seizure beginning and end, and the dotted lines comprise the time when the ERR is expected.Note that in the pre-seizure (from 0 to 80 s), there are two jumps in the values of the wavelet leader entropy quantifier (Figure 7): the first one around ∼20 s and the other around 60 s.Around 85 s, a local maximum is observed a little earlier than the minimum of SWS, which happens at ∼90 s.However, the WLSS is growing steadily from ∼90 s.The point ∼115 s is a local extremum (maximum in WLSS and minimum in the WLSC) that corresponds to the transition from the tonic to clonic stage.Note that in the figure of WLSS, two relative maxima at ∼145 s and ∼155 s also appear.These events can be associated with (i) the end of the epileptic recruiting rhythm and (ii) the end of the epileptic seizure end, respectively.
It is remarkable to note that wavelet leader-based quantifiers are not affected with a marked change when we calculate the probability distribution P x 0 in Equation (23), including the 14 resolution levels for the original signal (Figure 2) and the filtered signal (Figure 3). Figure 10 displays the WLSS evolutions, including the wavelet leaders at 14 resolution levels for the original signal and the filtered signal.On the other hand, Figure 7 shows the WLSS evolution considering 12 levels of resolution for the filtered signal, without considering the wavelet leaders at the resolution levels related to muscle activity.If we compare both figures, we can observe that they show a similar pattern.Nevertheless, the temporal evolution of WLSS for the filtered signal (Figure 10) distinguishes more precisely the period between T2 and T3.

Discussion
We have reviewed the methodology based on ODWT coefficients in the quantitative analysis of EEG epileptic records and, in particular, on tonic-clonic epileptic seizures.The "epileptic recruiting rhythm" (ERR) observed during the development of a seizure is well described in terms of the relative wavelet energy.In addition, we have shown that the use of a set of wavelet leader coefficients enables a more precise time localization in the time description of the dynamical changes in the EEG signal.
One could thus reasonably conjecture that tonic-phase spasms were "answers" to brain oscillations, generated with high frequencies.Due to the fact that muscles cannot contract in such a rapid fashion, muscle activity gets restricted to tonic contraction, until the frequency of brain oscillations becomes slow enough for the muscle to be capable of oscillating in resonance with it [66].
One important point to emphasize is that our results were obtained from scalp recordings without the use either of curare or of any filtering method.Since intracranial recordings are nearly free of artifacts, the fact that the same pattern [67] is seen in both situations reinforces the idea that the results obtained with scalp electrodes were not a spurious effect of muscle activity.Also to be noted is the fact that, although the grouping in frequency bands implies a loss of frequency resolution, this procedure can be more useful than a study of single frequencies or peaks, due to the relation between frequency bands and their "sources" in the brain.In this context, the RWE permits an easy interpretation of several minutes of frequency variations in a single display, something that is sometimes difficult to achieve with traditional scalp EEGs.
Being independent of the amplitude or the energy of the signal, the normalized wavelet entropy, H, yields new information about EEG signals in comparison with that obtained by using frequency analysis or other standard methods.The normalized wavelet entropy has the following advantages: (i) In contrast to the spectral entropy, the normalized wavelet entropy is capable of detecting changes in a non-stationary signal due to the localization characteristics of the wavelet transform.(ii) In comparison with dimensional analysis and Lyapunov exponents (which are only defined for stationary behaviors) or with dimensional and chaotic measures (stationary constraints removed), the computational time required for the evaluation of the normalized wavelet entropy is significantly shorter.The algorithm for evaluation involves just the use of the wavelet transform in a multiresolution framework.
(iii) Contaminating noise contributions (if they are basically concentrated in some frequency bands) can be easily eliminated.Last but not least, (iv) no previous evaluated parameters are needed for the evaluation of normalized wavelet entropies.One of our goals here was to introduce the notion of complexity in the wavelet scenario, so as to gather new insight into the background activity leading to (1) epileptic seizures and (2) tonic to clonic phase transitions.With the help of both the normalized wavelet entropy and the wavelet complexity notion, we detected the presence of a rather special brain-state characterized by both order and large complexity.
Another aim was to extend the methodology based on ODWT to another set of multiresolution wavelet coefficients: the wavelet leaders.It can be noted that the information quantifiers WLSS and WLSC have the same computational evaluation advantages as those based on ODWT coefficients, and they also detect changes in the EEG signal during the seizure, having a more accurate time localization and capturing the more irregular portion of the signal between some seconds before the beginning of the clonic phase and the end of the seizure.Results presented in the previous sections show that quantifiers based on extensive informational wavelet tools could be useful for the quantitative description of TCES.
The electrophysiology of generalized TCES is not fully understood.There are many descriptions of the typical patterns of EEG activity that accompany these seizures, but few detailed or quantitative analysis are given.One of the main reasons for this state of affairs is that, immediately after this kind of seizure begins, muscle activity starts leading to artifacts, which obscure the EEG data.The description of these data suggests that generalized TCES-EEG data have a complex evolution in time.Spatial variation on their manifestation has been reported, despite their classification as "generalized seizures" [63,67].Yet, until recently, there have been no studies that have attempted to investigate and quantify these complex dynamics and there is little information to help explain the neurophysiology underlying generalized TCES.A naive assumption is to believe that there are no variations in the degree to which cortical neurons participate in the generalized TCES.However, the available data do not support such a view.Instead, the data suggest that there are variations in the degree in which cortical neurons participate in the generalized TCES in both animal models and in humans.Some researchers have even suggested that the ERR manifested in the EEG after seizure onsets is a cardinal feature of these epileptic seizures [63].
One critical point is the possible distortion due to the spatial propagation of the seizure, since data from the C4 electrode was analyzed and the sources of the seizures were in a temporal location.In order to overcome this difficulty, quantifiers based on ODWT were also applied to the T3 and T4 electrodes, obtaining thereby similar results to the ones reported using the C4 electrode.In particular, the EER was still observed, even though these electrodes exhibit more artifacts than the C4.In addition, the seizure stage presents smaller normalized wavelet entropy and larger wavelet SCM values in comparison to the pre-seizure one.For a quantitative analysis of the behavior observed in these two electrodes (T3 and T4), the above introduced informational quantifiers based on ODWT were evaluated with the same thresholds.The number of cases for which the imposed constraints for the quantifiers are satisfied is similar for C4.This implies that the method is "transportable" to different electrodes.Although some variations in the numerical values for the different quantifiers were observed, it is reasonable to assume that the different positions could provide additional information.In this view, it is interesting to observe that information quantifiers based on wavelet leaders (WLSS and WLSC) are not significantly affected by including the bands related to the muscle activity, and this signal analysis for other electrodes is similar and closely associated with the analysis of the C4 electrode.This fact can be observed in Figures 11 and 12, which display the information quantifiers (WLSS and WLSC) corresponding to the original EEG records from electrodes at the temporal and parietal locations, T3, T4, P3, P4, respectively, as well as the previously analyzed channel, C4.We have selected these few channels, taking into account that the source of the seizure is left temporal.

Final Remarks
It is well established that an EEG is directly proportional to the local field potential recorded by electrodes on the brain surface.Furthermore, one single EEG electrode placed on the scalp records the aggregate electrical activity from up to 6 cm 2 of the brain surface and, hence, from many millions of neurons.With such large numbers, it seems quite natural to model the neocortex as a continuous sheet of neurons (neuronal matter) whose activity varies with time.Taking into account the results that we have obtained for: (1) the chaoticity (biggest Lyapunov exponent with stationary constrained removed) as a function of time [7,19] and (2) the biggest Lyapunov exponent for the selected portion of the EEG signal, we conclude that a chaotic behavior can be associated with the whole EEG signal, although it becomes less noticeable during the recruiting phase [7,19]).We have shown here that the recruiting phase also exhibits larger values of statistical complexity.As pointed out by many authors (see, for instance, [20]), the coexistence of chaos with ordering and increasing complexity for an extended system is a manifestation of self-organization.On the basis of (1) experimental EEG data and (2) the use of appropriate statistical tools, the following conjecture could be proposed in the case of secondary generalized TCES: the epileptic focus triggers a self-organized brain state characterized by both order and maximal complexity.As a consequence, it becomes clear that quantifiers of the epileptic recruiting rhythm are useful tools for the characterization of the genesis and spreading of this type of seizure.In this context, we consider that the wavelet-based informational tools reviewed in the present work and their evaluation could be profitably employed for developing models, as well as for illuminating a number of aspects of the spatio-temporal dynamics of the generalized TCES-EEG data that had not previously been appreciated.
A goal of this work was to compare and examine global and pointwise information theory-based quantifiers, constructed from two different pdfs, (1) the normalized Shannon wavelet entropy (SWS) and wavelet statistical complexity (SWC), which are based on the energy of different frequency bands present in the signal, as opposed to (2) the wavelet leader Shannon entropy (WLSS) and wavelet leader statistical complexity (WLSC), which are related to the measure of local regularity at each point of the time series.Note that both use sets of multiresolution wavelet analysis coefficients.
As the first general question, we can see that both groups of quantifiers distinguish the seizure, which is no great achievement, because it can be seen with the naked eye, but quantitative analysis tools have been developed over the years, thereby introducing an objective method of measure.About the differences between orthogonal discrete wavelet coefficients and wavelet leader coefficient-based quantifiers, we can say that these last have the following advantages: 1.The analysis is local, and wavelet leader-based quantifiers can detect a higher resolution in the changes of the signals than Shannon wavelet entropy and wavelet statistical complexity.Moreover, the video recordings of the patient present some inaccurate information on these changes.2. As mentioned above, the results obtained for the filtered signal (i.e., without the contribution of muscle-noise contaminated bands) is essentially identical to the original signal.This property has two advantages, it reduces the use of mathematical tools, such as signal pre-processing filters, and second, it simplifies the calculation process.3. Pre-seizure and post-seizure fluctuation values in the evaluation of SWS and WSC quantifiers make average evaluation necessary to find the plateau that occurs naturally in wavelet leader-based quantifiers (WLSS and WLSC).Moreover, this fact clearly marks discontinuities in the signal (such as shown at ∼60 s). 4. The maximum wavelet leader Shannon entropy WLSS occurs slightly after 120 s, marking a transition from the tonic to the clonic phase, in agreement with what was found by computing the SWS and WSC.
It is worth noting that a massive presence of epileptic spikes with the highest rugged peaks appears during the seizure.One could guess that the jumps of the wavelet leader-based quantifiers (WLSS and WLSC) shown at 60 s correspond to a significant variation in the spikes, indicating that a seizure is coming.It has also been exhibited that WLSS and WLSC are sharper than the pointwise Hölder exponent to differentiate the epileptic seizure from the pre-and post-seizure stages.This fact is in correspondence with the results presented in [32] for another time series, coming from a very different source.
Finally, we consider these two analysis techniques to be complementary to each other.While SWS and WSC quantifiers are based on computing the change in the frequencies of the signals, the WLSS and the WLSC consider the regularity of the signal, describing its morphological changes.

Figure 1 .
Figure 1.A schematic illustration of the definition of wavelet leaders.

Figure 2 .
Figure 2. Scalp EEG signal for a tonic-clonic epileptic seizure (TCES), recorded at the central right location, the C4 channel.The vertical lines mark the following transitions: The seizure starts at TI = 80 s and the clonic phase at T2 = 125 s.The seizure ends at TF = 155 s.Notice that the dramatic transition from rigidity (tonic stage) to convulsions (clonic stage) around T2 = 125 s is not clearly discernible.T1 = 90 s and T3 = 145 s mark the expected beginning and end of the epileptic recruiting rhythm (ERR).

Figure 3 .
Figure 3. Noise-free signal, reconstructed from wavelet frequency bands B 9 to B 12 of the scalp EEG signal for a TCES, recorded at the central right location, the C4 channel.The vertical lines indicate the following transitions: The seizure starts at TI = 80 s and the clonic phase at T2 = 125 s.The seizure ends at TF = 155 s.T1 = 90 s and T3 = 145 s mark the expected beginning and end of the epileptic recruiting rhythm (ERR).

Figure 4 .
Figure 4. Time evolution of the relative wavelet energy (RWE) corresponding to the EEG noise-free signal (Figure 3), for the frequency bands B 9 , B 10 , B 11 and B 12 .The vertical lines indicate the following transitions: The seizure starts at TI = 80 s and the clonic phase at T2 = 125 s.The seizure ends at TF = 155 s.T1 = 90 s and T3 = 145 s mark the expected beginning and end of the epileptic recruiting rhythm (ERR).

Figure 5 .
Figure 5. Temporal evolution of the normalized Shannon wavelet entropy (normalized SWS).One line represents the normalized SWS when frequency bands B 9 to B 14 are included, while the other corresponds to results that ignore the contributions coming from high frequency bands, B 13 and B 14 , which mainly contain electromyographic activity.The vertical lines indicate the following transitions: The seizure starts at TI = 80 s and the clonic phase at T2 = 125 s.The seizure ends at TF = 155 s.T1 = 90 s and T3 = 145 s mark the expected beginning and end of the epileptic recruiting rhythm (ERR).

Figure 6 .
Figure 6.Temporal evolution of the wavelet statistical complexity (WSC).One line represents the time evolution of the normalized WSC when frequency bands B 9 to B 14 are included, while the other corresponds to results that ignore contributions coming from high frequency bands, B 13 and B 14 , which mainly contain electromyographic activity.The vertical lines indicate the following transitions: The seizure starts at TI = 80 s and the clonic phase at T2 = 125 s.The seizure ends at TF = 155 s.T1 = 90 s and T3 = 145 s mark the expected beginning and end of the epileptic recruiting rhythm (ERR).

Figure 7 .
Figure 7. Wavelet leader Shannon entropy temporal evolution of the filtered signal, without the inclusion of frequency bands containing muscle activity.The vertical lines indicate the following transitions: The seizure starts at TI = 80 s and the clonic phase at T2 = 125 s.The seizure ends at TF = 155 s.T1 = 90 s and T3 = 145 s mark the expected beginning and end of the epileptic recruiting rhythm (ERR).

Figure 8 .
Figure 8. Wavelet leader statistical complexity temporal evolution of the filtered signal, without the inclusion of frequency bands containing muscle activity.The vertical lines indicate the following transitions: The seizure starts at TI = 80 s and the clonic phase at T2 = 125 s.The seizure ends at TF = 155 s.T1 = 90 s and T3 = 145 s mark the expected beginning and end of the epileptic recruiting rhythm (ERR).

Figure 9 .
Figure 9. Pointwise Hölder exponent time evolution of the filtered signal, without the inclusion of frequency bands containing muscle activity.The vertical lines indicate the following transitions: The seizure starts at TI = 80 s and the clonic phase at T2 = 125 s.The seizure ends at TF = 155 s.T1 = 90 s and T3 = 145 s mark the expected beginning and end of the epileptic recruiting rhythm (ERR).

Figure 10 .
Figure 10.Temporal evolution of the wavelet leader Shannon entropy for the original signal corresponding to tonic-clonic epileptic EEG record.The vertical lines indicate the following transitions: The seizure starts at TI = 80 s and the clonic phase at T2 = 125 s.The seizure ends at TF = 155 s.T1 = 90 s and T3 = 145 s mark the expected beginning and end of the epileptic recruiting rhythm (ERR).

Figure 11 .
Figure 11.Temporal evolution of the wavelet leader Shannon entropy for the original signals corresponding to tonic-clonic epileptic EEG records in different channels.The vertical lines indicate the following transitions: The seizure starts at TI = 80 s and the clonic phase at T2 = 125 s.The seizure ends at TF = 155 s.T1 = 90 s and T3 = 145 s mark the expected beginning and end of the epileptic recruiting rhythm (ERR).

Figure 12 .
Figure 12.Temporal evolution of the wavelet leader statistical complexity for the original signals corresponding to tonic-clonic epileptic EEG records in different channels.The vertical lines indicate the following transitions: The seizure starts at TI = 80 s and the clonic phase at T2 = 125 s.The seizure ends at TF = 155 s.T1 = 90 s and T3 = 145 s mark the expected beginning and end of the epileptic recruiting rhythm (ERR).
j ω min (Hz) ω max (Hz) j-Level EEG Band and the other frequency bands (alpha and theta activity, represented by B 11 and B 12 frequency bands, respectively) alternatively dominate.Figure The seizure starts at TI = 80 s with a discharge of slow waves superimposed with low voltage fast activity.This discharge lasts approximately 8 s and produces a marked rise in low frequency bands (delta activity), which reaches [ρ 9 + ρ 10 ] ∼ 80% of the RWE.From 90 s onwards, the low frequency activity, represented by B 9 and B 10 , decreases abruptly to values lower than 10%,