A repo of current preprocessing methods for the Cogan Lab
MIT License
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 supported
Install Anaconda
Create an anaconda environment with python and pip packages installed
conda create -n <YOUR_NAME> python<3.13 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
.dat
file using convert_OpenE_rec2mat.m
TBD
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)