This project focuses on analyzing EEG biomarkers to assess different levels of cognitive impairment in stroke patients. Specifically, it uses Power Spectral Density (PSD) and functional connectivity to explore neural activity.
This project builds upon research exploring EEG biomarker analysis in stroke patients with varying degrees of cognitive impairment. The key methods include:
- π Power Spectral Density (PSD): Analyzes brain wave frequencies (delta, theta, alpha, beta, gamma) to identify cognitive states.
- π Functional Connectivity: Examines connectivity between brain regions to understand cognitive decline.
For more details, refer to:
- π EEG Biomarkers in Stroke Cognitive Impairment
- π Advanced Cognitive and Neuroimaging Techniques
.
βββ avg_final_picture/
βββ datasetqw/
βββ microstate/
βββ picture/
βββ plotset_process_note_vision/
βββ plotsetavg_final_vision/
βββ Scripts/
βββ singel_mne_result/
βββ sperate_power/
βββ avg_plot_conc_metrix_circle.py
βββ plotsingle.py
βββ pyenv/
βββ .gitignore
βββ README.md
- πΌ avg_final_picture/: Contains final visualizations of EEG biomarkers.
- π datasetqw/: Processed EEG datasets for cognitive impairment levels.
- 𧩠microstate/: Microstate analysis results.
- πΌ picture/: Images generated during analysis.
- π plotset_process_note_vision/: Notes and intermediate visualizations related to the analysis.
- π plotsetavg_final_vision/: Final averaged EEG visualizations.
- βοΈ Scripts/: Python scripts for EEG preprocessing, PSD analysis, and functional connectivity visualization.
- π singel_mne_result/: MNE-Python EEG analysis results.
- π sperate_power/: Power spectral analysis results.
- π avg_plot_conc_metrix_circle.py: Script for plotting average connectivity circles.
- π plotsingle.py: Script for plotting individual EEG signals.
- π» pyenv/: Python virtual environment configuration files.
- π« .gitignore: Specifies files to be ignored by version control.
The data used in this project includes EEG recordings from stroke patients at varying levels of cognitive impairment. The key analysis focuses on PSD and functional connectivity in different brain regions.
- π¨ββοΈ Participants: 32 total participants (8 healthy controls and 24 stroke patients with mild, moderate, and severe cognitive impairment).
- π» EEG Recording: 44-channel EEG data collected at 2 kHz, analyzed using MNE-Python.
Ensure you have the following dependencies installed:
- Python 3.8+
- MNE-Python
- EEGLAB
- numpy
- matplotlib
- scipy
You can install the required Python packages using:
pip install -r requirements.txt
-
Clone the repository:
git clone <repository-url> cd <repository-directory>
-
Activate the Python virtual environment:
source pyenv/bin/activate
-
Run the scripts:
- To generate PSD plots:
python avg_plot_conc_metrix_circle.py
- To visualize individual EEG data:
python plotsingle.py
- To generate PSD plots:
-
Review the output in the
avg_final_picture/
andpicture/
folders.
- Xu, M., Zhang, Y., Zhang, Y., Liu, X., & Qing, K. (2024). EEG biomarkers analysis in different cognitive impairment after stroke: an exploration study. Frontiers in Neurology, 15:1358167. Link to article
- Zhang, Y., Zhang, Y., Jiang, Z., Xu, M., & Qing, K. (2023). The effect of EEG and fNIRS in the digital assessment and therapy of Alzheimerβs disease. Frontiers in Neuroscience, 17:1269359. Link to article
Let me know if you'd like to add or modify anything further!