Skip to content

yujiangwang/MultiFractalEEG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fractal and Multifractal Properties of Electrographic Recordings of Human Brain Activity: Towards its Use as a Signal Feature for Machine Learning in Clinical Applications

⚠️ Please, use the following article for reference:

França, L.G.S., Miranda, J.G.V., Leite, M., Sharma, N.K., Walker, M.C., Lemieux, L. and Wang, Y., 2018. Fractal and Multifractal Properties of Electrographic Recordings of Human Brain Activity: Towards its Use as a Signal Feature for Machine Learning in Clinical Applications. Frontiers in Physiology, 9, p.1767. DOI: 10.3389/fphys.2018.01767

⚠️ See also:

📰 FRANÇA, L. G. S.; MONTOYA, P.; Miranda, J. G. V. On multifractals: a non-linear study of actigraphy data. 2019, 514, 612–619. arXiv preprint arXiv:1702.03912. GitHub Repository: lucasfr/actiMF

Download

Please, clone the repository with the following command:

git clone https://github.com/yujiangwang/MultiFractalEEG

R packages

Please, install the packages ggplot2, R.matlab, reshape2, and RColorBrewer with the following command on your R console:

install.packages("ggplot2", "R.matlab", "reshape2", "RColorBrewer")

Matlab WFDB Toolbox

Please, copy and paste the following lines on your Matlab command window:

wfdb_url='https://github.com/ikarosilva/wfdb-app-toolbox/raw/master/wfdb-app-toolbox-0-9-10.zip';  
[filestr,status] = urlwrite(wfdb_url,'wfdb-app-toolbox-0-9-10.zip');  
unzip('wfdb-app-toolbox-0-9-10.zip');  
cd mcode  
addpath(pwd);  
savepath 

License

This work is licensed under the MIT License.

Copyright (c) 2018 Lucas G S França, Yujiang Wang, José G V Miranda.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

However, pieces of code used in this were licensed with different terms. They are listed below with.

Matlab line colors - Copyright (c), Jonathan C. Lansey
WFDB Toolbox - GNU General Public License v3.0, Ikaro Silva
Higuchi and Katz fractal dimension measures - Copyright (c), Jesús Monge
p-Model simulation - GNU public license, Victor Venema
Multifractal Detrended Fluctuation Analysis - Copyright (c), Espen A. F. Ihlen
Multifractal Detrended Moving Average - Copyright (c), Gao-Feng Gu and Wei-Xing Zhou
gcmi : Gaussian-Copula Mutual Information - GNU General Public License v3.0, Robin Ince

Figures of the article

FIGURE 2 - .../fractal_methods/

⚠️ Please, bear in mind that both Higuchi and DFA algorithms are not optimised and could take a while to run, depending on the performance of your machine.

FIGURE 3 - .../mfractal_methods/
FIGURE 4 - .../szTrace/
FIGURE 5 - .../relation_measures/
FIGURE 6 - .../relation_pBands/
FIGURE 7 - .../seizure_chTime/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published