Skip to main content

A Python package for iEEG data processing.

Project description

IEEG_Pipelines

A repo of current preprocessing pipelines for the Cogan Lab

Brain

Documentation

Documentation Status

Lab Wiki

Pipeline Functionality

Python (3.10) on Windows/Linux

MATLAB latest

codecov

Installation

MATLAB

  1. Install MATLAB

  2. Clone this repository into your userpath (Documents/MATLAB by default)

  3. Run commands:

    path = fullfile(userpath, 'IEEG_Pipelines', 'MATLAB');
    addpath(genpath(path));
    

Python

Version 3.10 supported

Conda

  1. Install Anaconda

  2. Create an anaconda environment with python and pip packages installed

    conda create -n <YOUR_NAME> python<3.13 pip
    
  3. Activate the environment

    conda activate <YOUR_NAME>
    
  4. Run

    pip install ieeg
    

Pip

  1. Install Python

  2. Run:

    python -m venv <PATH TO VENV>/<YOUR_NAME>
    source activate <PATH TO VENV>/<YOUR_NAME>
    python -m pip install ieeg
    

Usage

MATLAB (INCOMPLETE)

  1. Load .dat file using convert_OpenE_rec2mat.m
  2. Create the ieeg data structure from the ieegStructClass.m
  3. TBD

Python (INCOMPLETE)

  1. 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)
    
  2. Perform line noise filtering

  3. Check Spectrograms

  4. Plot the high gamma responses

  5. Run the cluster correction and permutation test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ieeg-0.5.2.tar.gz (818.3 kB view details)

Uploaded Source

File details

Details for the file ieeg-0.5.2.tar.gz.

File metadata

  • Download URL: ieeg-0.5.2.tar.gz
  • Upload date:
  • Size: 818.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for ieeg-0.5.2.tar.gz
Algorithm Hash digest
SHA256 dfa2177faa341f8e7dc60d90ba7ae8b78cf1f2004eeff521f4a5b7d58f821bff
MD5 920e223070a91b1a4b3e5c9e85d02616
BLAKE2b-256 8e98dd23005fe08afcb10d6e2dec1df6b18aa2ef8fd7f6e8572884d76e3caa3c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page