A repo of current preprocessing pipelines for the Cogan Lab
-
Install MATLAB
-
Clone this repository into your userpath (
Documents/MATLAB
by default) -
Run commands:
path = fullfile(userpath, 'IEEG_Pipelines', 'MATLAB'); addpath(genpath(path));
Version 3.10 - 3.13 supported
-
Install Anaconda
-
Create an anaconda environment with python and pip packages installed
conda create -n <YOUR_NAME> python<3.14 pip
-
Activate the environment
conda activate <YOUR_NAME>
-
Run
pip install ieeg
-
Install Python
-
Run:
python -m venv <PATH TO VENV>/<YOUR_NAME> source activate <PATH TO VENV>/<YOUR_NAME> python -m pip install ieeg
- Load
.dat
file using convert_OpenE_rec2mat.m - Create the ieeg data structure from the ieegStructClass.m
TBD
Python (INCOMPLETE)
-
Load BIDS files from BIDS directory using
pybids
from bids import BIDSLayout import ieeg layout = BIDSLayout(<BIDS_root>) data = ieeg.io.raw_from_layout(layout)