Skip to content

yueyuesapphirehou/aperiodic_EEG_modelling

Repository files navigation

Overview

In this repository is the code associated with the following paper:

Brake N, Duc F, Rokos A, Arseneau F, Shiva Shahiri S, Khadra A and Plourde G (2023). "A Unified Theory of Aperiodic EEG Predicts Signatures of Propofol Anesthesia." Submitted

The repo contains functions to reproduce all the figures in the paper. Use function set_matlab_path to set the path. Functions take the argument dataFolder, which is the path to analyzed EEG data and simulations. This data can be downloaded here:
https://drive.google.com/uc?export=download&id=173OsShSYm1u3OX_Q96gsWXYATuHBbL0s You must also set the property resourceFolder in ./simulation_code/network_simulation_beluga.m to the the same data path.

The repo also contains functions to run EEG simulations. Things that need to be compiled for simulation
 From the base directory, compile the C program for computing tiling correlation (requires openmp for parallel computing)
  gcc -o ./simulation_code/compute_tiling_correlation.exe ./simulation_code/compute_tiling_correlation.c -fopenmp -lm
 Navigate to ./simulation_code/mod_files and compile the MOD files for neuron, i.e. using nrnivmodl.

Python dependencies
python/3.8.10
mpi4py
scipy-stack
neuron
LFPy
umap-learn

License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

To reference this code, please cite the journal article mentioned above.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published