Skip to main content
. 2021 Nov 10;15:718769. doi: 10.3389/fnsys.2021.718769

FIGURE 1.

FIGURE 1

Multi-scale entropy procedure for frontal EEG electrodes (A) and example of course graining (B). (A) A flow chart of the processing algorithm applied to the raw EEG signal for a given condition (pre-operative or intra-operative) for a given subject to generate the frontal average MSE curve for a given condition/subject. The time domain signal recorded at 1,000 Hz from a given frontal electrode, n, is represented as xn(t) where t ranges from 0 to 3 min. This raw signal xn(t) is down-sampled to 250 Hz to generate the time series yn,τ where τ is the sample number from 1 to 45,000. Each sample encompasses 4 ms. The down-sampled time series yn,τ is then course-grained for a given scale k (as shown in the examples of scale k = 2, 3, and 4 in B) to generate the coarse-grained signal zn,k,j, where zn,k = 1,j at scale 1 is identical to yn,τ and where j ranges from 1 to (τ + k–1)/k. The sample entropy is then calculated for each zn,k,j signal to yield an entropy value En,k. This is repeated for each scale k. Once En,k has been calculated for all scales k = 1–25, an MSE curve for a given subject, condition, and electrode, n. The MSEn curve ranges on the x-axis from scale k = 1–25. The MSEn curve on the y-axis is En,k. This is repeated for every electrode, n, in the frontal region. Finally, the MSE curves for all n electrodes are averaged across scale k to yield a single frontal MSE curve for each subject/condition. (B) Example of course graining procedure perform on the down-sampled time series for electrode n, yn,τ, where τ ranges from 1 to 4,500, to yield the course-grained series zn,k,j where n represents the electrode in question, k is the scale value, and j is the sample number. Scales 2, 3, and 4 are shown for examples above, but this same pattern continues up to scale 25. The temporal resolution associated with the course graining is show on the axis at the bottom of the figure.