Skip to main content
. 2023 May 22;20(10):5913. doi: 10.3390/ijerph20105913
Algorithm 2 Bivariate multiscale entropy (BMSE)
  • Define ,ns, length of the desired EEG channel X and number of component slices (MSE-curves) of the desired BMSE surface, resp.

  • Do the following for each time factor scale: τ=[τmin,τmin+Δτ,τmin+2Δτ,,τmax]

  • for k=1 to ns do

  •  Apply Algorithm 1 to sub vectors v(k)=[X((k1)(ns)):X(kns)] to obtain an MSE curve for each v(k).

  •  Use Equation (1) to obtain MSE(v(k))¯ (for each curve).

  •  Use Equation (1) to define a BMSE index as BMSE¯ for MSE(v(k))¯.

  • end for

  • Construct a BMSE surface with the collection of all MSE curves obtained.