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 - 3.13) on Windows/Linux/Mac

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 - 3.13 supported

Conda

  1. Install Anaconda

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

    conda create -n <YOUR_NAME> python<3.14 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.7.0.tar.gz (620.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ieeg-0.7.0-cp310-cp310-musllinux_1_2_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

ieeg-0.7.0-cp310-cp310-musllinux_1_2_i686.whl (1.7 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

ieeg-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

ieeg-0.7.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ i686manylinux: glibc 2.5+ i686

File details

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

File metadata

  • Download URL: ieeg-0.7.0.tar.gz
  • Upload date:
  • Size: 620.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ieeg-0.7.0.tar.gz
Algorithm Hash digest
SHA256 847ddb9b4d1d829035a5eb4cd341a814ce9c8983236f5a288e5d48849f1099ed
MD5 e13c91245ea4bee5db0840e1770b3982
BLAKE2b-256 1b7154e0572ef712fc32c39c8a8c6eed975d6bd1e359eb1d6caade082f1520d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for ieeg-0.7.0.tar.gz:

Publisher: Package.yml on coganlab/IEEG_Pipelines

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ieeg-0.7.0-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ieeg-0.7.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 246c536e87f03659aa7d7b46b01c882f7a18cb19ae9c35b1a4fba6ef40001789
MD5 fe0f471c0fcbf4bc7109a8b13b30c130
BLAKE2b-256 a258d544f6beeda010ceb2ba4d00a472fd2deca31c8d1734e8bfcb71898896d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ieeg-0.7.0-cp310-cp310-musllinux_1_2_x86_64.whl:

Publisher: Package.yml on coganlab/IEEG_Pipelines

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ieeg-0.7.0-cp310-cp310-musllinux_1_2_i686.whl.

File metadata

  • Download URL: ieeg-0.7.0-cp310-cp310-musllinux_1_2_i686.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.10, musllinux: musl 1.2+ i686
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ieeg-0.7.0-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 3e28644a9bf196a58113780b89608547e17ec2ea8d13f8cf5131288efe6be5db
MD5 9912acbb36ec74a994dff1571b5a6f54
BLAKE2b-256 55af4092165b629cf1d93c80a59c3c19b358483ac98c6247d179f7a090520b19

See more details on using hashes here.

Provenance

The following attestation bundles were made for ieeg-0.7.0-cp310-cp310-musllinux_1_2_i686.whl:

Publisher: Package.yml on coganlab/IEEG_Pipelines

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ieeg-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ieeg-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3141bebeac4ce8a86d08249a25708b0040181bb4fac3c4b8da77518864330f3a
MD5 c790c31461a1bd441603ba0f7db71297
BLAKE2b-256 a715c5bab254cfc86a1838167150b5eb255281d45bef62cfce254d595cf0082b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ieeg-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: Package.yml on coganlab/IEEG_Pipelines

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ieeg-0.7.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for ieeg-0.7.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 b402064e475a628d86c2a55c1956fcd040e8aee9834bd813b0811c7a4e133b00
MD5 3308ae6e36076ba2d0e9797e68c4c891
BLAKE2b-256 422dd1257c0e381876bab54622a6385559b2ec9661e0a9d1185efaeb4786c77d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ieeg-0.7.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl:

Publisher: Package.yml on coganlab/IEEG_Pipelines

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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